diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-04 07:07:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-05 12:02:29 -0400 |
commit | 690b5a13b27ba3bb2c9d61c1f4018c5074b591e6 (patch) | |
tree | 45b491850fdc5282e5b1c496697b5738d1fbc172 /arch/arm/plat-omap/include/mach/io.h | |
parent | e5480b7397f497482083da056f5f300dd4ca43f3 (diff) |
[ARM] omap: allow ioremap() to use our fixed IO mappings
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap/include/mach/io.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/io.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/mach/io.h b/arch/arm/plat-omap/include/mach/io.h index 2a30b7d88cde..b9f57ce0ac15 100644 --- a/arch/arm/plat-omap/include/mach/io.h +++ b/arch/arm/plat-omap/include/mach/io.h | |||
@@ -192,6 +192,12 @@ extern void omap1_init_common_hw(void); | |||
192 | extern void omap2_map_common_io(void); | 192 | extern void omap2_map_common_io(void); |
193 | extern void omap2_init_common_hw(void); | 193 | extern void omap2_init_common_hw(void); |
194 | 194 | ||
195 | #define __arch_ioremap(p,s,t) omap_ioremap(p,s,t) | ||
196 | #define __arch_iounmap(v) omap_iounmap(v) | ||
197 | |||
198 | void __iomem *omap_ioremap(unsigned long phys, size_t size, unsigned int type); | ||
199 | void omap_iounmap(volatile void __iomem *addr); | ||
200 | |||
195 | #endif | 201 | #endif |
196 | 202 | ||
197 | #endif | 203 | #endif |