]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-versatile/io.h
ide: skip not present devices in init_gendisk()
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-versatile / io.h
index 9f895bf61494308a2c2add721009c3699125781d..c4d01948e00bccd8a25ac33693c50c9910d67e29 100644 (file)
 
 #define IO_SPACE_LIMIT 0xffffffff
 
-#define __io(a)                        ((void __iomem *)(a))
+static inline void __iomem *__io(unsigned long addr)
+{
+       return (void __iomem *)addr;
+}
+#define __io(a)        __io(a)
 #define __mem_pci(a)           (a)
-#define __mem_isa(a)           (a)
 
 #endif