Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327511
b: refs/heads/master
c: 450e903
h: refs/heads/master
i:
  327509: 7bf243a
  327507: 6a4d997
  327503: 1b6e62a
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Aug 10, 2012
1 parent 566b567 commit 0768357
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 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: 2f9279b5568c4de8c37566f11e7c26292a3f4bf2
refs/heads/master: 450e9038ee65e3246b2a942669fc79001466f9be
15 changes: 3 additions & 12 deletions trunk/drivers/net/wireless/iwlegacy/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -4860,7 +4860,7 @@ EXPORT_SYMBOL(il_add_beacon_time);

#ifdef CONFIG_PM

int
static int
il_pci_suspend(struct device *device)
{
struct pci_dev *pdev = to_pci_dev(device);
Expand All @@ -4877,9 +4877,8 @@ il_pci_suspend(struct device *device)

return 0;
}
EXPORT_SYMBOL(il_pci_suspend);

int
static int
il_pci_resume(struct device *device)
{
struct pci_dev *pdev = to_pci_dev(device);
Expand All @@ -4906,16 +4905,8 @@ il_pci_resume(struct device *device)

return 0;
}
EXPORT_SYMBOL(il_pci_resume);

const struct dev_pm_ops il_pm_ops = {
.suspend = il_pci_suspend,
.resume = il_pci_resume,
.freeze = il_pci_suspend,
.thaw = il_pci_resume,
.poweroff = il_pci_suspend,
.restore = il_pci_resume,
};
SIMPLE_DEV_PM_OPS(il_pm_ops, il_pci_suspend, il_pci_resume);
EXPORT_SYMBOL(il_pm_ops);

#endif /* CONFIG_PM */
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/iwlegacy/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1845,8 +1845,6 @@ __le32 il_add_beacon_time(struct il_priv *il, u32 base, u32 addon,
u32 beacon_interval);

#ifdef CONFIG_PM
int il_pci_suspend(struct device *device);
int il_pci_resume(struct device *device);
extern const struct dev_pm_ops il_pm_ops;

#define IL_LEGACY_PM_OPS (&il_pm_ops)
Expand Down

0 comments on commit 0768357

Please sign in to comment.