ath9k: add a patch from linux-wireless@ for reducing driver size
[openwrt.git] / package / mac80211 / patches / 401-ath9k-dont-register-leds-on-ar9100.patch
1 --- a/drivers/net/wireless/ath/ath9k/gpio.c
2 +++ b/drivers/net/wireless/ath/ath9k/gpio.c
3 @@ -41,6 +41,9 @@ void ath_init_leds(struct ath_softc *sc)
4 {
5 int ret;
6
7 + if (AR_SREV_9100(sc->sc_ah))
8 + return;
9 +
10 if (AR_SREV_9287(sc->sc_ah))
11 sc->sc_ah->led_pin = ATH_LED_PIN_9287;
12 else if (AR_SREV_9485(sc->sc_ah))
This page took 0.045149 seconds and 5 git commands to generate.