summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.h
diff options
context:
space:
mode:
authorBob Copeland2009-06-10 05:43:11 +0200
committerJohn W. Linville2009-06-10 19:28:39 +0200
commita6ae0716e5c3b5f9dbe5ed8f473a6c7b89692365 (patch)
tree03cb4056959ccf538b26f565c1e4509e4e0a5250 /drivers/net/wireless/ath/ath5k/base.h
parentmac80211: clean up return value of __ieee80211_parse_tx_radiotap (diff)
downloadkernel-qcow2-linux-a6ae0716e5c3b5f9dbe5ed8f473a6c7b89692365.tar.gz
kernel-qcow2-linux-a6ae0716e5c3b5f9dbe5ed8f473a6c7b89692365.tar.xz
kernel-qcow2-linux-a6ae0716e5c3b5f9dbe5ed8f473a6c7b89692365.zip
ath5k: minor rfkill cleanup
Always enable rfkill since the ifdefs in the code is not really worth the Kconfig option. Also fix a few code style things, and remove the usage of the ah_gpio[] array so we can remove it later. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h
index 7a0ecdd9c258..f9b7f2f819b7 100644
--- a/drivers/net/wireless/ath/ath5k/base.h
+++ b/drivers/net/wireless/ath/ath5k/base.h
@@ -177,9 +177,7 @@ struct ath5k_softc {
struct tasklet_struct txtq; /* tx intr tasklet */
struct ath5k_led tx_led; /* tx led */
-#ifdef CONFIG_ATH5K_RFKILL
struct ath5k_rfkill rf_kill;
-#endif
spinlock_t block; /* protects beacon */
struct tasklet_struct beacontq; /* beacon intr tasklet */