Merge branches 'upstream-fixes' and 'magicmouse' into for-linus
[pandora-kernel.git] / arch / arm / mach-sa1100 / include / mach / io.h
index 0c070a6..d8b43f3 100644 (file)
  * We don't actually have real ISA nor PCI buses, but there is so many 
  * drivers out there that might just work if we fake them...
  */
-static inline void __iomem *__io(unsigned long addr)
-{
-       return (void __iomem *)addr;
-}
-#define __io(a)                        __io(a)
-#define __mem_pci(a)           (a)
+#define __io(a)                __typesafe_io(a)
+#define __mem_pci(a)   (a)
 
 #endif