summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx25/mm.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-10-25 17:54:58 +0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 10:58:10 +0300
commitcf3a6aba2f8402d4e45f7f263a0e69f779cd1bdc (patch)
treeb5b08375df395aff49d74810fc4b581d6a57cea6 /arch/arm/mach-mx25/mm.c
parent08ff97b5214143c3bd47add6ec49097cb848120a (diff)
downloadlinux-cf3a6aba2f8402d4e45f7f263a0e69f779cd1bdc.tar.xz
ARM: imx: remove last explicit users of virtual base address defines
This allows changing the mapping without the need to adapt all users. While at it remove some unneeded casts to void __iomem *, this is already taken care for in the IO_ADDRESS macros Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/mm.c')
-rw-r--r--arch/arm/mach-mx25/mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx25/mm.c b/arch/arm/mach-mx25/mm.c
index 11cd33599bd8..2edec6ce8fe7 100644
--- a/arch/arm/mach-mx25/mm.c
+++ b/arch/arm/mach-mx25/mm.c
@@ -56,7 +56,7 @@ int imx25_register_gpios(void);
void __init mx25_init_irq(void)
{
- mxc_init_irq((void __iomem *)MX25_AVIC_BASE_ADDR_VIRT);
+ mxc_init_irq(MX25_IO_ADDRESS(MX25_AVIC_BASE_ADDR));
imx25_register_gpios();
}