ARM: io: make iounmap() a simple macro
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Dec 2010 13:49:04 +0000 (13:49 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Dec 2010 13:57:04 +0000 (13:57 +0000)
commita0b7bd0829194c03921915a68ee4a331ee394223
tree0d7a3dddfa6018ae1230b6082041a93ed21eb1b4
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
ARM: io: make iounmap() a simple macro

Defining iounmap() with arguments prevents it from being used as a
function pointer, causing platforms to work around this.  Instead,
define it to be a simple macro.

Do the same for __arch_io(re|un)map too.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/io.h
arch/arm/mach-davinci/include/mach/io.h
arch/arm/mach-iop13xx/include/mach/io.h
arch/arm/mach-iop32x/include/mach/io.h
arch/arm/mach-iop33x/include/mach/io.h
arch/arm/mach-ixp23xx/include/mach/io.h
arch/arm/mach-ixp4xx/include/mach/io.h
arch/arm/mach-kirkwood/include/mach/io.h
arch/arm/mach-orion5x/include/mach/io.h
arch/arm/mach-tegra/include/mach/io.h
arch/arm/plat-omap/include/plat/io.h