summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lh7a40x/include/mach/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-lh7a40x/include/mach/io.h')
-rw-r--r--arch/arm/mach-lh7a40x/include/mach/io.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-lh7a40x/include/mach/io.h b/arch/arm/mach-lh7a40x/include/mach/io.h
index 031d26f9163c..6ece45911cbc 100644
--- a/arch/arm/mach-lh7a40x/include/mach/io.h
+++ b/arch/arm/mach-lh7a40x/include/mach/io.h
@@ -11,12 +11,10 @@
#ifndef __ASM_ARCH_IO_H
#define __ASM_ARCH_IO_H
-#include <mach/hardware.h>
-
#define IO_SPACE_LIMIT 0xffffffff
/* No ISA or PCI bus on this machine. */
-#define __io(a) ((void __iomem *)(a))
-#define __mem_pci(a) (a)
+#define __io(a) __typesafe_io(a)
+#define __mem_pci(a) (a)
#endif /* __ASM_ARCH_IO_H */
OpenPOWER on IntegriCloud