summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlegacy/common.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-08-07 23:46:44 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-08-10 23:26:59 +0400
commit450e9038ee65e3246b2a942669fc79001466f9be (patch)
tree53545b636c369a293f6576ad8d108c48dc27a173 /drivers/net/wireless/iwlegacy/common.h
parent2f9279b5568c4de8c37566f11e7c26292a3f4bf2 (diff)
downloadlinux-450e9038ee65e3246b2a942669fc79001466f9be.tar.xz
iwlegacy: clean up suspend/resume
There's no need to export the il_pci_suspend and il_pci_resume functions since they're only referenced from il_pm_ops. The latter can also be defined using SIMPLE_DEV_PM_OPS instead of open-coding it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.h')
-rw-r--r--drivers/net/wireless/iwlegacy/common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h
index 5f5017767b99..3d3135ed62d7 100644
--- a/drivers/net/wireless/iwlegacy/common.h
+++ b/drivers/net/wireless/iwlegacy/common.h
@@ -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)