aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 610be03a198..bc00e52f644 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1350,6 +1350,7 @@ static struct notifier_block wl1271_dev_notifier = {
1350 .notifier_call = wl1271_dev_notify, 1350 .notifier_call = wl1271_dev_notify,
1351}; 1351};
1352 1352
1353#ifdef CONFIG_PM
1353static int wl1271_configure_suspend(struct wl1271 *wl) 1354static int wl1271_configure_suspend(struct wl1271 *wl)
1354{ 1355{
1355 int ret; 1356 int ret;
@@ -1493,6 +1494,7 @@ static int wl1271_op_resume(struct ieee80211_hw *hw)
1493 1494
1494 return 0; 1495 return 0;
1495} 1496}
1497#endif
1496 1498
1497static int wl1271_op_start(struct ieee80211_hw *hw) 1499static int wl1271_op_start(struct ieee80211_hw *hw)
1498{ 1500{
@@ -3650,8 +3652,10 @@ static const struct ieee80211_ops wl1271_ops = {
3650 .stop = wl1271_op_stop, 3652 .stop = wl1271_op_stop,
3651 .add_interface = wl1271_op_add_interface, 3653 .add_interface = wl1271_op_add_interface,
3652 .remove_interface = wl1271_op_remove_interface, 3654 .remove_interface = wl1271_op_remove_interface,
3655#ifdef CONFIG_PM
3653 .suspend = wl1271_op_suspend, 3656 .suspend = wl1271_op_suspend,
3654 .resume = wl1271_op_resume, 3657 .resume = wl1271_op_resume,
3658#endif
3655 .config = wl1271_op_config, 3659 .config = wl1271_op_config,
3656 .prepare_multicast = wl1271_op_prepare_multicast, 3660 .prepare_multicast = wl1271_op_prepare_multicast,
3657 .configure_filter = wl1271_op_configure_filter, 3661 .configure_filter = wl1271_op_configure_filter,