1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -650,6 +650,12 @@ static int ath9k_of_init(struct ath_soft
7 +static void ath9k_of_gpio_mask(struct ath_softc *sc)
9 + of_property_read_u32(sc->dev->of_node, "qca,gpio-mask",
10 + &sc->sc_ah->caps.gpio_mask);
13 static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
14 const struct ath_bus_ops *bus_ops)
16 @@ -753,6 +759,9 @@ static int ath9k_init_softc(u16 devid, s
20 + /* GPIO mask quirk */
21 + ath9k_of_gpio_mask(sc);
23 ret = ath9k_init_queues(sc);