summaryrefslogtreecommitdiff
path: root/target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch
blob: dae59b15d70436d0ddbe726884ad9a9ebfdf90ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/arch/arm/mach-mx2/devices.c	2010-04-10 13:56:17.000000000 +0200
+++ b/arch/arm/mach-mx2/devices.c	2010-04-10 15:15:17.000000000 +0200
@@ -304,7 +304,7 @@
 #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,
 	}, {
@@ -483,8 +483,8 @@
 #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,
 	},
 	{