aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch
blob: 7cffaf621f30bcae59b8ad5590acc9b67e67ad66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/arch/mips/cavium-octeon/octeon-platform.c
+++ b/arch/mips/cavium-octeon/octeon-platform.c
@@ -82,7 +82,7 @@ static int __init octeon_ehci_device_ini
 	};
 
 	/* Only Octeon2 has ehci/ohci */
-	if (!OCTEON_IS_MODEL(OCTEON_CN63XX))
+	if (!OCTEON_IS_MODEL(OCTEON_CN6XXX))
 		return 0;
 
 	if (octeon_is_simulation() || usb_disabled())
@@ -131,7 +131,7 @@ static int __init octeon_ohci_device_ini
 	};
 
 	/* Only Octeon2 has ehci/ohci */
-	if (!OCTEON_IS_MODEL(OCTEON_CN63XX))
+	if (!OCTEON_IS_MODEL(OCTEON_CN6XXX))
 		return 0;
 
 	if (octeon_is_simulation() || usb_disabled())