2010-04-22 10:13:21 +03:00
|
|
|
--- a/arch/arm/mach-mx2/devices.c
|
|
|
|
+++ b/arch/arm/mach-mx2/devices.c
|
|
|
|
@@ -304,7 +304,7 @@ DEFINE_MXC_MMC_DEVICE(1, MX2x_SDHC2_BASE
|
2010-04-10 21:37:34 +03:00
|
|
|
#ifdef CONFIG_MACH_MX27
|
|
|
|
static struct resource otg_resources[] = {
|
|
|
|
{
|
|
|
|
- .start = MX27_USBOTG_BASE_ADDR,
|
|
|
|
+ .start = MX27_usbotg_BASE_ADDR,
|
|
|
|
.end = MX27_USBOTG_BASE_ADDR + 0x1ff,
|
|
|
|
.flags = IORESOURCE_MEM,
|
|
|
|
}, {
|
2010-04-22 10:13:21 +03:00
|
|
|
@@ -483,8 +483,8 @@ int __init mxc_register_gpios(void)
|
2010-04-10 21:37:34 +03:00
|
|
|
#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 + 0x1FFF,
|
|
|
|
.flags = IORESOURCE_MEM,
|
|
|
|
},
|
|
|
|
{
|