Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27347
b: refs/heads/master
c: 95047dd
h: refs/heads/master
i:
  27345: 7c80951
  27343: c1c4658
v: v3
  • Loading branch information
Pavel Roskin authored and John W. Linville committed May 5, 2006
1 parent e57a249 commit a2d9f2e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 6cbaa330f1022abfc7419aaa11ee1a9291f0beb0
refs/heads/master: 95047dd6d00ad00e7f1f632db6b8ecaa704cfc7e
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/orinoco_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static inline void orinoco_pci_setup_netdev(struct net_device *dev,
pci_name(pdev), pdev->irq, range_type, start, end);
}

#ifdef CONFIG_PM
static int orinoco_pci_suspend(struct pci_dev *pdev, pm_message_t state)
{
struct net_device *dev = pci_get_drvdata(pdev);
Expand Down Expand Up @@ -121,5 +122,9 @@ static int orinoco_pci_resume(struct pci_dev *pdev)

return 0;
}
#else
#define orinoco_pci_suspend NULL
#define orinoco_pci_resume NULL
#endif

#endif /* _ORINOCO_PCI_H */

0 comments on commit a2d9f2e

Please sign in to comment.