ARM: lpc32xx: use __iomem pointers for MMIO
[linux-2.6-block.git] / arch / arm / mach-lpc32xx / include / mach / hardware.h
index 33e1dde37bd919b13d1ab84281acb7b5ec857c9d..69065de97a3d1f0dce8742a9b5daa5c8129c1ea8 100644 (file)
@@ -25,7 +25,7 @@
 /*
  * This macro relies on fact that for all HW i/o addresses bits 20-23 are 0
  */
-#define IO_ADDRESS(x)  (((((x) & 0xff000000) >> 4) | ((x) & 0xfffff)) |\
+#define IO_ADDRESS(x)  IOMEM(((((x) & 0xff000000) >> 4) | ((x) & 0xfffff)) |\
                         IO_BASE)
 
 #define io_p2v(x)      ((void __iomem *) (unsigned long) IO_ADDRESS(x))