when changing the mac address of a bridge interface, keep member interface addresses...
[openwrt.git] / target / linux / mx2 / patches-2.6.34 / 020-fix-usb-ioresource.patch
1 --- a/arch/arm/mach-mx2/devices.c
2 +++ b/arch/arm/mach-mx2/devices.c
3 @@ -304,7 +304,7 @@ DEFINE_MXC_MMC_DEVICE(1, MX2x_SDHC2_BASE
4 #ifdef CONFIG_MACH_MX27
5 static struct resource otg_resources[] = {
6 {
7 - .start = MX27_USBOTG_BASE_ADDR,
8 + .start = MX27_usbotg_BASE_ADDR,
9 .end = MX27_USBOTG_BASE_ADDR + 0x1ff,
10 .flags = IORESOURCE_MEM,
11 }, {
12 @@ -483,8 +483,8 @@ int __init mxc_register_gpios(void)
13 #ifdef CONFIG_MACH_MX21
14 static struct resource mx21_usbhc_resources[] = {
15 {
16 - .start = MX21_BASE_ADDR,
17 - .end = MX21_BASE_ADDR + 0x1FFF,
18 + .start = MX21_USBOTG_BASE_ADDR,
19 + .end = MX21_USBOTG_BASE_ADDR + 0x1FFF,
20 .flags = IORESOURCE_MEM,
21 },
22 {
This page took 0.044589 seconds and 5 git commands to generate.