summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/io.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-08-28 10:50:37 -0700
committerTony Lindgren <tony@atomide.com>2009-08-28 10:50:37 -0700
commitdb326be1bca2ddbcac80161953956c8b8bc5b00b (patch)
tree2bc5a63d82e28c0d0956390e1b1432e0aeccf8e9 /arch/arm/plat-omap/io.c
parent6175556fdc0a66ce5f1831e22892fac6f28fc2ec (diff)
downloadop-kernel-dev-db326be1bca2ddbcac80161953956c8b8bc5b00b.zip
op-kernel-dev-db326be1bca2ddbcac80161953956c8b8bc5b00b.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/io.c b/arch/arm/plat-omap/io.c
index d491ad1..b6defa2 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))
OpenPOWER on IntegriCloud