Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35250
b: refs/heads/master
c: c8c22c9
h: refs/heads/master
v: v3
  • Loading branch information
Zhu Yi authored and John W. Linville committed Aug 29, 2006
1 parent d00a8b2 commit 5747ab4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9bec768c321e51a8da00d56230bc795464992b2
refs/heads/master: c8c22c942e46ca0e06fc7c72845314da1ad41702
11 changes: 11 additions & 0 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -11735,6 +11735,16 @@ static int ipw_pci_resume(struct pci_dev *pdev)
}
#endif

static void ipw_pci_shutdown(struct pci_dev *pdev)
{
struct ipw_priv *priv = pci_get_drvdata(pdev);

/* Take down the device; powers it off, etc. */
ipw_down(priv);

pci_disable_device(pdev);
}

/* driver initialization stuff */
static struct pci_driver ipw_driver = {
.name = DRV_NAME,
Expand All @@ -11745,6 +11755,7 @@ static struct pci_driver ipw_driver = {
.suspend = ipw_pci_suspend,
.resume = ipw_pci_resume,
#endif
.shutdown = ipw_pci_shutdown,
};

static int __init ipw_init(void)
Expand Down

0 comments on commit 5747ab4

Please sign in to comment.