ARM: 6135/1: mx21/devices: fix USBOTG resource
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 15 May 2010 10:25:35 +0000 (11:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 20 May 2010 22:52:30 +0000 (23:52 +0100)
It got a typo from 988addf82e4c03739375279de73929580a2d4a6a.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-mx2/devices.c

index b91e412..04f36d8 100644 (file)
@@ -483,8 +483,8 @@ int __init mxc_register_gpios(void)
 #ifdef CONFIG_MACH_MX21
 static struct resource mx21_usbhc_resources[] = {
        {
-               .start  = MX21_BASE_ADDR,
-               .end    = MX21_BASE_ADDR + 0x1FFF,
+               .start  = MX21_USBOTG_BASE_ADDR,
+               .end    = MX21_USBOTG_BASE_ADDR + SZ_8K - 1,
                .flags  = IORESOURCE_MEM,
        },
        {