ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce...
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.8 / 501-MIPS-ath79-add-mac-argument-to-ath79_register_wmac.patch
index de0db9a965b6aef2046b7651ed3991b3ec0aa2c8..d9b8682f0ddbdcda5e42756f611317fa3dc3210e 100644 (file)
@@ -16,7 +16,7 @@
  static struct ath9k_platform_data ath79_wmac_data;
  
  static struct resource ath79_wmac_resources[] = {
-@@ -151,7 +153,7 @@ static void qca955x_wmac_setup(void)
+@@ -160,7 +162,7 @@ static void qca955x_wmac_setup(void)
                ath79_wmac_data.is_clk_25mhz = true;
  }
  
@@ -25,7 +25,7 @@
  {
        if (soc_is_ar913x())
                ar913x_wmac_setup();
-@@ -168,5 +170,10 @@ void __init ath79_register_wmac(u8 *cal_
+@@ -177,5 +179,10 @@ void __init ath79_register_wmac(u8 *cal_
                memcpy(ath79_wmac_data.eeprom_data, cal_data,
                       sizeof(ath79_wmac_data.eeprom_data));