diff options
Diffstat (limited to 'drivers/usb/host/ehci-grlib.c')
-rw-r--r-- | drivers/usb/host/ehci-grlib.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/drivers/usb/host/ehci-grlib.c b/drivers/usb/host/ehci-grlib.c index 3180cb3624d9..1fc89292f5d6 100644 --- a/drivers/usb/host/ehci-grlib.c +++ b/drivers/usb/host/ehci-grlib.c | |||
@@ -34,22 +34,6 @@ | |||
34 | 34 | ||
35 | #define GRUSBHC_HCIVERSION 0x0100 /* Known value of cap. reg. HCIVERSION */ | 35 | #define GRUSBHC_HCIVERSION 0x0100 /* Known value of cap. reg. HCIVERSION */ |
36 | 36 | ||
37 | /* called during probe() after chip reset completes */ | ||
38 | static int ehci_grlib_setup(struct usb_hcd *hcd) | ||
39 | { | ||
40 | struct ehci_hcd *ehci = hcd_to_ehci(hcd); | ||
41 | int retval; | ||
42 | |||
43 | retval = ehci_setup(hcd); | ||
44 | if (retval) | ||
45 | return retval; | ||
46 | |||
47 | ehci_port_power(ehci, 1); | ||
48 | |||
49 | return retval; | ||
50 | } | ||
51 | |||
52 | |||
53 | static const struct hc_driver ehci_grlib_hc_driver = { | 37 | static const struct hc_driver ehci_grlib_hc_driver = { |
54 | .description = hcd_name, | 38 | .description = hcd_name, |
55 | .product_desc = "GRLIB GRUSBHC EHCI", | 39 | .product_desc = "GRLIB GRUSBHC EHCI", |
@@ -64,7 +48,7 @@ static const struct hc_driver ehci_grlib_hc_driver = { | |||
64 | /* | 48 | /* |
65 | * basic lifecycle operations | 49 | * basic lifecycle operations |
66 | */ | 50 | */ |
67 | .reset = ehci_grlib_setup, | 51 | .reset = ehci_setup, |
68 | .start = ehci_run, | 52 | .start = ehci_run, |
69 | .stop = ehci_stop, | 53 | .stop = ehci_stop, |
70 | .shutdown = ehci_shutdown, | 54 | .shutdown = ehci_shutdown, |
@@ -98,7 +82,7 @@ static const struct hc_driver ehci_grlib_hc_driver = { | |||
98 | }; | 82 | }; |
99 | 83 | ||
100 | 84 | ||
101 | static int __devinit ehci_hcd_grlib_probe(struct platform_device *op) | 85 | static int ehci_hcd_grlib_probe(struct platform_device *op) |
102 | { | 86 | { |
103 | struct device_node *dn = op->dev.of_node; | 87 | struct device_node *dn = op->dev.of_node; |
104 | struct usb_hcd *hcd; | 88 | struct usb_hcd *hcd; |