aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h1
-rw-r--r--drivers/net/wireless/ath/ath9k/gpio.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index a6b538802251..5ebfc57c3110 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -453,6 +453,7 @@ void ath9k_btcoex_timer_pause(struct ath_softc *sc);
453 453
454#define ATH_LED_PIN_DEF 1 454#define ATH_LED_PIN_DEF 1
455#define ATH_LED_PIN_9287 8 455#define ATH_LED_PIN_9287 8
456#define ATH_LED_PIN_9300 10
456#define ATH_LED_PIN_9485 6 457#define ATH_LED_PIN_9485 6
457 458
458#ifdef CONFIG_MAC80211_LEDS 459#ifdef CONFIG_MAC80211_LEDS
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c
index cc5fad6a4019..2c59452a7207 100644
--- a/drivers/net/wireless/ath/ath9k/gpio.c
+++ b/drivers/net/wireless/ath/ath9k/gpio.c
@@ -46,6 +46,8 @@ void ath_init_leds(struct ath_softc *sc)
46 sc->sc_ah->led_pin = ATH_LED_PIN_9287; 46 sc->sc_ah->led_pin = ATH_LED_PIN_9287;
47 else if (AR_SREV_9485(sc->sc_ah)) 47 else if (AR_SREV_9485(sc->sc_ah))
48 sc->sc_ah->led_pin = ATH_LED_PIN_9485; 48 sc->sc_ah->led_pin = ATH_LED_PIN_9485;
49 else if (AR_SREV_9300(sc->sc_ah))
50 sc->sc_ah->led_pin = ATH_LED_PIN_9300;
49 else 51 else
50 sc->sc_ah->led_pin = ATH_LED_PIN_DEF; 52 sc->sc_ah->led_pin = ATH_LED_PIN_DEF;
51 } 53 }