mac80211: update to version 5.9.1
[openwrt/staging/nbd.git] / package / kernel / mac80211 / patches / ath / 431-add_platform_eeprom_support_to_ath5k.patch
index 136be198945f9540dfb3618c5e0e7ecf5e1a08d0..c762aa6d643fc6ffc0eee3e95a113acd1b6640e1 100644 (file)
@@ -18,7 +18,7 @@
  static bool
  ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
 @@ -79,6 +80,19 @@ ath5k_pci_eeprom_read(struct ath_common
-       struct ath5k_hw *ah = (struct ath5k_hw *) common->ah;
+       struct ath5k_hw *ah = common->ah;
        u32 status, timeout;
  
 +      struct ath5k_platform_data *pdata = NULL;