b57fe9c545925b42bfc5379806fe6782933617c6
[openwrt.git] / target / linux / ramips / patches-4.3 / 0030-USB-add-OHCI-EHCI-OF-binding.patch
1 From ef42c519247f677229bcbd1ab622222b165242af Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sun, 27 Jul 2014 09:49:07 +0100
4 Subject: [PATCH 30/53] USB: add OHCI/EHCI OF binding
5
6 based on f3bc64d6d1f21c1b92d75f233a37b75d77af6963
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 ---
10  drivers/usb/host/ehci-platform.c |    1 +
11  drivers/usb/host/ohci-platform.c |    1 +
12  2 files changed, 2 insertions(+)
13
14 diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
15 index 5c3c085..fe78568 100644
16 --- a/drivers/usb/host/ehci-platform.c
17 +++ b/drivers/usb/host/ehci-platform.c
18 @@ -379,6 +379,7 @@ static int ehci_platform_resume(struct device *dev)
19  static const struct of_device_id vt8500_ehci_ids[] = {
20         { .compatible = "via,vt8500-ehci", },
21         { .compatible = "wm,prizm-ehci", },
22 +       { .compatible = "ralink,rt3xxx-ehci", },
23         { .compatible = "generic-ehci", },
24         { .compatible = "cavium,octeon-6335-ehci", },
25         {}
26 diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
27 index c2669f18..5cf794a 100644
28 --- a/drivers/usb/host/ohci-platform.c
29 +++ b/drivers/usb/host/ohci-platform.c
30 @@ -344,6 +344,7 @@ static int ohci_platform_resume(struct device *dev)
31  #endif /* CONFIG_PM_SLEEP */
32  
33  static const struct of_device_id ohci_platform_ids[] = {
34 +       { .compatible = "ralink,rt3xxx-ohci", },
35         { .compatible = "generic-ohci", },
36         { .compatible = "cavium,octeon-6335-ohci", },
37         { }
38 -- 
39 1.7.10.4
40