diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-03-06 16:21:45 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-03-06 22:34:36 -0500 |
commit | 21a5365b03975e2425e030ad072f32a9dd3387fb (patch) | |
tree | 8c69d82acc869535156c73df6bc0bb50c51d4f68 /arch/arm | |
parent | ed5bf6e884dc176acdd17cbc653154dc02718239 (diff) |
ARM: remove compile time __arch_ioremap/__arch_iounmap
Now that all custom ioremap/iounmap users are converted to runtime hook,
remove the compile time defines.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/io.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 6c363c16851..6f7555ddab8 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h | |||
@@ -269,16 +269,11 @@ extern void _memset_io(volatile void __iomem *, int, size_t); | |||
269 | * Documentation/io-mapping.txt. | 269 | * Documentation/io-mapping.txt. |
270 | * | 270 | * |
271 | */ | 271 | */ |
272 | #ifndef __arch_ioremap | 272 | #define ioremap(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE) |
273 | #define __arch_ioremap __arm_ioremap | 273 | #define ioremap_nocache(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE) |
274 | #define __arch_iounmap __arm_iounmap | 274 | #define ioremap_cached(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE_CACHED) |
275 | #endif | 275 | #define ioremap_wc(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE_WC) |
276 | 276 | #define iounmap __arm_iounmap | |
277 | #define ioremap(cookie,size) __arch_ioremap((cookie), (size), MT_DEVICE) | ||
278 | #define ioremap_nocache(cookie,size) __arch_ioremap((cookie), (size), MT_DEVICE) | ||
279 | #define ioremap_cached(cookie,size) __arch_ioremap((cookie), (size), MT_DEVICE_CACHED) | ||
280 | #define ioremap_wc(cookie,size) __arch_ioremap((cookie), (size), MT_DEVICE_WC) | ||
281 | #define iounmap __arch_iounmap | ||
282 | 277 | ||
283 | /* | 278 | /* |
284 | * io{read,write}{8,16,32} macros | 279 | * io{read,write}{8,16,32} macros |