diff options
author | Tony Lindgren <tony@atomide.com> | 2009-08-28 21:50:37 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-08-28 21:50:37 +0400 |
commit | db326be1bca2ddbcac80161953956c8b8bc5b00b (patch) | |
tree | 2bc5a63d82e28c0d0956390e1b1432e0aeccf8e9 /arch/arm/plat-omap/io.c | |
parent | 6175556fdc0a66ce5f1831e22892fac6f28fc2ec (diff) | |
download | linux-db326be1bca2ddbcac80161953956c8b8bc5b00b.tar.xz |
OMAP: Remove ifdefs for io.h
Remove ifdefs for io.h
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/io.c')
-rw-r--r-- | arch/arm/plat-omap/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/io.c b/arch/arm/plat-omap/io.c index d491ad15f198..b6defa23e77e 100644 --- a/arch/arm/plat-omap/io.c +++ b/arch/arm/plat-omap/io.c @@ -30,8 +30,8 @@ void __iomem *omap_ioremap(unsigned long p, size_t size, unsigned int type) { #ifdef CONFIG_ARCH_OMAP1 if (cpu_class_is_omap1()) { - if (BETWEEN(p, IO_PHYS, IO_SIZE)) - return XLATE(p, IO_PHYS, IO_VIRT); + if (BETWEEN(p, OMAP1_IO_PHYS, OMAP1_IO_SIZE)) + return XLATE(p, OMAP1_IO_PHYS, OMAP1_IO_VIRT); } if (cpu_is_omap730()) { if (BETWEEN(p, OMAP730_DSP_BASE, OMAP730_DSP_SIZE)) |