x86, asm: Use a lower case name for the end macro in atomic64_386_32.S
[sfrench/cifs-2.6.git] / arch / arm / mach-l7200 / include / mach / io.h
index d432ba9e5dff8308974e9ebb8deebcaa45cc06e5..a770a89fb70829f55f889ea5b4dce49b1cd7b0fd 100644 (file)
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#include <mach/hardware.h>
-
 #define IO_SPACE_LIMIT 0xffffffff
 
 /*
  * There are not real ISA nor PCI buses, so we fake it.
  */
-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