summaryrefslogtreecommitdiff
path: root/include/asm-arm/mach/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/mach/map.h')
-rw-r--r--include/asm-arm/mach/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/mach/map.h b/include/asm-arm/mach/map.h
index c3929fc74afd..cef5364ed5fe 100644
--- a/include/asm-arm/mach/map.h
+++ b/include/asm-arm/mach/map.h
@@ -26,4 +26,8 @@ struct map_desc {
#define MT_IXP2000_DEVICE 7
#define MT_NONSHARED_DEVICE 8
+#ifdef CONFIG_MMU
extern void iotable_init(struct map_desc *, int);
+#else
+#define iotable_init(map,num) do { } while (0)
+#endif