ath9k: make rfkill configurable
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2013 18:55:38 +0000 (20:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:26 +0000 (16:54 -0400)
commit74e13060f11dbf4028b810e34c359f64929415f3
treea0e21e817b667174b48a9c3788a7e9d3aa6079ad
parent3266d73237a7441a30d64a97327738e70f1b5254
ath9k: make rfkill configurable

When the platform doesn't have rfkill support, i.e. nothing
is connected to the rfkill GPIO, there's little value in
polling the GPIO. Add a Kconfig option to allow disabling
the polling in ath9k.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/Kconfig
drivers/net/wireless/ath/ath9k/hw.c