diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-07-24 03:55:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-29 15:46:01 -0400 |
commit | ff8365ca889cb86ba5bd40fe3047d047bc632f4c (patch) | |
tree | f49b65c131790edba5a8a26009086fd43d81fe1e /drivers | |
parent | 11866efa9b5d6f321a2625b7f6837ba55c4c2e4b (diff) |
ar9170: fix build error when !CONFIG_AR9170_LEDS
Fix this build error when CONFIG_AR9170_LEDS is not set
drivers/net/wireless/ath/ar9170/main.c:1296: error: 'struct ar9170' has
no member named 'led_work'
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c index c7287a883a48..85a1452a7c3c 100644 --- a/drivers/net/wireless/ath/ar9170/main.c +++ b/drivers/net/wireless/ath/ar9170/main.c | |||
@@ -1293,7 +1293,9 @@ static void ar9170_op_stop(struct ieee80211_hw *hw) | |||
1293 | flush_workqueue(ar->hw->workqueue); | 1293 | flush_workqueue(ar->hw->workqueue); |
1294 | 1294 | ||
1295 | cancel_delayed_work_sync(&ar->tx_janitor); | 1295 | cancel_delayed_work_sync(&ar->tx_janitor); |
1296 | #ifdef CONFIG_AR9170_LEDS | ||
1296 | cancel_delayed_work_sync(&ar->led_work); | 1297 | cancel_delayed_work_sync(&ar->led_work); |
1298 | #endif | ||
1297 | cancel_work_sync(&ar->filter_config_work); | 1299 | cancel_work_sync(&ar->filter_config_work); |
1298 | cancel_work_sync(&ar->beacon_work); | 1300 | cancel_work_sync(&ar->beacon_work); |
1299 | mutex_lock(&ar->mutex); | 1301 | mutex_lock(&ar->mutex); |