summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shark/include/mach/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shark/include/mach/io.h')
-rw-r--r--arch/arm/mach-shark/include/mach/io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-shark/include/mach/io.h b/arch/arm/mach-shark/include/mach/io.h
index 568daea93fb1..c5cee829fc87 100644
--- a/arch/arm/mach-shark/include/mach/io.h
+++ b/arch/arm/mach-shark/include/mach/io.h
@@ -14,8 +14,7 @@
#define PCIO_BASE 0xe0000000
#define IO_SPACE_LIMIT 0xffffffff
-#define __io(a) __typesafe_io(PCIO_BASE + (a))
-
+#define __io(a) ((void __iomem *)(PCIO_BASE + (a)))
#define __mem_pci(addr) (addr)
#endif
OpenPOWER on IntegriCloud