summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/ath5k.h
diff options
context:
space:
mode:
authorBob Copeland2009-03-08 06:10:20 +0100
committerJohn W. Linville2009-03-16 23:09:37 +0100
commit0ed4548f81b69363a6257dbc23086fc9fe4a23cb (patch)
treea7513ef6461534124bca54ee0e33f2d57438642b /drivers/net/wireless/ath5k/ath5k.h
parentath5k: don't change mac in eeprom_read_mac on error (diff)
downloadkernel-qcow2-linux-0ed4548f81b69363a6257dbc23086fc9fe4a23cb.tar.gz
kernel-qcow2-linux-0ed4548f81b69363a6257dbc23086fc9fe4a23cb.tar.xz
kernel-qcow2-linux-0ed4548f81b69363a6257dbc23086fc9fe4a23cb.zip
ath5k: extract LED code into a separate file
Move LED code out of base.c for clarity. Changes-licensed-under: 3-Clause-BSD Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath5k/ath5k.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath5k/ath5k.h b/drivers/net/wireless/ath5k/ath5k.h
index b9af2b84c05f..0dc2c7321c8b 100644
--- a/drivers/net/wireless/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath5k/ath5k.h
@@ -1129,6 +1129,12 @@ struct ath5k_hw {
extern struct ath5k_hw *ath5k_hw_attach(struct ath5k_softc *sc, u8 mac_version);
extern void ath5k_hw_detach(struct ath5k_hw *ah);
+/* LED functions */
+extern int ath5k_init_leds(struct ath5k_softc *sc);
+extern void ath5k_led_enable(struct ath5k_softc *sc);
+extern void ath5k_led_off(struct ath5k_softc *sc);
+extern void ath5k_unregister_leds(struct ath5k_softc *sc);
+
/* Reset Functions */
extern int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, bool initial);
extern int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode, struct ieee80211_channel *channel, bool change_channel);