diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-30 11:45:54 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-30 11:45:54 +0000 |
commit | 0560cf5aa51216b06874333a2fa26ca034d97bdb (patch) | |
tree | 4feb666ca357b708ec1f13c7bc52284018e107c8 /arch/arm/mach-ixp4xx | |
parent | cd32a48dc5c2f415790bfbc4fe564b2b0e9c2414 (diff) | |
download | blackbird-op-linux-0560cf5aa51216b06874333a2fa26ca034d97bdb.tar.gz blackbird-op-linux-0560cf5aa51216b06874333a2fa26ca034d97bdb.zip |
[ARM] Add a common typesafe __io implementation
As Al did for Versatile in 2ad4f86b60b649fd7428265c08d73a3bd360c81b,
add a typesafe __io implementation for platforms to use. Convert
platforms to use this new simple typesafe implementation.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/include/mach/io.h b/arch/arm/mach-ixp4xx/include/mach/io.h index b7f780f574fa..ce63048d45eb 100644 --- a/arch/arm/mach-ixp4xx/include/mach/io.h +++ b/arch/arm/mach-ixp4xx/include/mach/io.h @@ -239,7 +239,7 @@ __ixp4xx_readsl(const volatile void __iomem *bus_addr, u32 *vaddr, u32 count) #ifndef CONFIG_PCI -#define __io(v) v +#define __io(v) __typesafe_io(v) #else |