summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-23 08:19:43 +0800
committerEric Anholt <eric@anholt.net>2007-02-07 21:26:01 -0800
commitef9a9d3cd1fb6f7def03ddea69af3db8502d8eb9 (patch)
tree10d872a98a9a794957e8a287d63fe874eeafc7f2 /shared-core
parent8918748058bc1aff64298855cde09512e2128367 (diff)
Define __iomem for systems without it.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 9efb1dc4..0e3b9b89 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -61,6 +61,9 @@
#ifndef __user
#define __user
#endif
+#ifndef __iomem
+#define __iomem
+#endif
#ifdef __GNUC__
# define DEPRECATED __attribute__ ((deprecated))