Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226955
b: refs/heads/master
c: c1e0774
h: refs/heads/master
i:
  226953: 4002afb
  226951: a25d6a0
v: v3
  • Loading branch information
Paul Mundt committed Nov 26, 2010
1 parent ade4d00 commit eb1dbf6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b32a92b600e2728c5c438a748a4dc3132c98ef3
refs/heads/master: c1e0774d74481fdc3082d2096a99a3aa411a71f1
11 changes: 10 additions & 1 deletion trunk/drivers/usb/host/ehci-sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,19 @@ static int __exit ehci_hcd_sh_remove(struct platform_device *pdev)
return 0;
}

static void ehci_hcd_sh_shutdown(struct platform_device *pdev)
{
struct ehci_sh_priv *priv = platform_get_drvdata(pdev);
struct usb_hcd *hcd = priv->hcd;

if (hcd->driver->shutdown)
hcd->driver->shutdown(hcd);
}

static struct platform_driver ehci_hcd_sh_driver = {
.probe = ehci_hcd_sh_probe,
.remove = __exit_p(ehci_hcd_sh_remove),
.shutdown = usb_hcd_platform_shutdown,
.shutdown = ehci_hcd_sh_shutdown,
.driver = {
.name = "sh_ehci",
.owner = THIS_MODULE,
Expand Down

0 comments on commit eb1dbf6

Please sign in to comment.