diff options
Diffstat (limited to 'package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch')
-rw-r--r-- | package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch b/package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch index e9bd604472..560f8d42de 100644 --- a/package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch +++ b/package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch @@ -7,7 +7,7 @@ +#include <linux/ath9k_platform.h> #include "ath9k.h" - static struct pci_device_id ath_pci_id_table[] __devinitdata = { + static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = { @@ -52,21 +53,36 @@ static void ath_pci_read_cachesize(struc static bool ath_pci_eeprom_read(struct ath_common *common, u32 off, u16 *data) |