aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch
blob: 0325f809215ad38378561ec8b7e5e9106f00cef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/arch/mips/ath79/dev-usb.c
+++ b/arch/mips/ath79/dev-usb.c
@@ -317,7 +317,10 @@ static void __init qca955x_usb_setup(voi
 {
 	ath79_ehci_pdata_v2.reset_notifier = qca955x_usb_reset_notifier;
 
-	ar9xxx_ci_usb_setup(0, ATH79_IP3_IRQ(0));
+	ath79_usb_register("ehci-platform", 0,
+			   QCA955X_EHCI0_BASE, QCA955X_EHCI_SIZE,
+			   ATH79_IP3_IRQ(0),
+			   &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2));
 
 	ath79_usb_register("ehci-platform", 1,
 			   QCA955X_EHCI1_BASE, QCA955X_EHCI_SIZE,