diff options
Diffstat (limited to 'drivers/usb/host/ehci-grlib.c')
-rw-r--r-- | drivers/usb/host/ehci-grlib.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/usb/host/ehci-grlib.c b/drivers/usb/host/ehci-grlib.c index a77bd8dc33f4..b52a66ce92e8 100644 --- a/drivers/usb/host/ehci-grlib.c +++ b/drivers/usb/host/ehci-grlib.c | |||
@@ -43,7 +43,7 @@ static const struct hc_driver ehci_grlib_hc_driver = { | |||
43 | * generic hardware linkage | 43 | * generic hardware linkage |
44 | */ | 44 | */ |
45 | .irq = ehci_irq, | 45 | .irq = ehci_irq, |
46 | .flags = HCD_MEMORY | HCD_USB2, | 46 | .flags = HCD_MEMORY | HCD_USB2 | HCD_BH, |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * basic lifecycle operations | 49 | * basic lifecycle operations |
@@ -167,15 +167,6 @@ static int ehci_hcd_grlib_remove(struct platform_device *op) | |||
167 | } | 167 | } |
168 | 168 | ||
169 | 169 | ||
170 | static void ehci_hcd_grlib_shutdown(struct platform_device *op) | ||
171 | { | ||
172 | struct usb_hcd *hcd = platform_get_drvdata(op); | ||
173 | |||
174 | if (hcd->driver->shutdown) | ||
175 | hcd->driver->shutdown(hcd); | ||
176 | } | ||
177 | |||
178 | |||
179 | static const struct of_device_id ehci_hcd_grlib_of_match[] = { | 170 | static const struct of_device_id ehci_hcd_grlib_of_match[] = { |
180 | { | 171 | { |
181 | .name = "GAISLER_EHCI", | 172 | .name = "GAISLER_EHCI", |
@@ -191,7 +182,7 @@ MODULE_DEVICE_TABLE(of, ehci_hcd_grlib_of_match); | |||
191 | static struct platform_driver ehci_grlib_driver = { | 182 | static struct platform_driver ehci_grlib_driver = { |
192 | .probe = ehci_hcd_grlib_probe, | 183 | .probe = ehci_hcd_grlib_probe, |
193 | .remove = ehci_hcd_grlib_remove, | 184 | .remove = ehci_hcd_grlib_remove, |
194 | .shutdown = ehci_hcd_grlib_shutdown, | 185 | .shutdown = usb_hcd_platform_shutdown, |
195 | .driver = { | 186 | .driver = { |
196 | .name = "grlib-ehci", | 187 | .name = "grlib-ehci", |
197 | .owner = THIS_MODULE, | 188 | .owner = THIS_MODULE, |