ar71xx: Add kernel 4.9 support
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.9 / 202-MIPS-ath79-ar934x-wmac-revision.patch
1 --- a/arch/mips/ath79/dev-wmac.c
2 +++ b/arch/mips/ath79/dev-wmac.c
3 @@ -139,6 +139,8 @@ static void ar934x_wmac_setup(void)
4 ath79_wmac_data.is_clk_25mhz = false;
5 else
6 ath79_wmac_data.is_clk_25mhz = true;
7 +
8 + ath79_wmac_data.get_mac_revision = ar93xx_get_soc_revision;
9 }
10
11 static void qca955x_wmac_setup(void)