]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:03 +0000 (11:22 -0700)
commit e1695307e6b85477afd2421d3b4891ca5bea8300 upstream.

It got a typo from 988addf82e4c03739375279de73929580a2d4a6a.

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

index b91e412f7b3e96e5b6dc090540212ce1c13b72ea..04f36d820ca570e00a3f42275dbd485e6633814f 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,
        },
        {