727-MIPS-ath79-ar934x-wmac-revision.patch 317 B

1234567891011
  1. --- a/arch/mips/ath79/dev-wmac.c
  2. +++ b/arch/mips/ath79/dev-wmac.c
  3. @@ -147,6 +147,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. static void qca953x_wmac_setup(void)