summaryrefslogtreecommitdiff
path: root/arch/arm/mach-h720x/include/mach/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-h720x/include/mach/io.h')
-rw-r--r--arch/arm/mach-h720x/include/mach/io.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-h720x/include/mach/io.h b/arch/arm/mach-h720x/include/mach/io.h
index 1dab74ce88c6..2c8659c21a93 100644
--- a/arch/arm/mach-h720x/include/mach/io.h
+++ b/arch/arm/mach-h720x/include/mach/io.h
@@ -14,11 +14,9 @@
#ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H
-#include <mach/hardware.h>
-
#define IO_SPACE_LIMIT 0xffffffff
-#define __io(a) ((void __iomem *)(a))
+#define __io(a) __typesafe_io(a)
#define __mem_pci(a) (a)
#endif