ar9170: fix build error when !CONFIG_AR9170_LEDS
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 24 Jul 2009 07:55:44 +0000 (11:55 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jul 2009 19:46:01 +0000 (15:46 -0400)
commitff8365ca889cb86ba5bd40fe3047d047bc632f4c
treef49b65c131790edba5a8a26009086fd43d81fe1e
parent11866efa9b5d6f321a2625b7f6837ba55c4c2e4b
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>
drivers/net/wireless/ath/ar9170/main.c