aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-07 16:29:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-07 16:29:28 +0000
commit016b406665a33c0c30b6ad65286c3dde996f606b (patch)
treee9d898fd61d6ae5637b7a2e604e468439bdf3db8 /package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch
parentf41ee70bad880cdc96d088c433e3541637a51e71 (diff)
downloadupstream-016b406665a33c0c30b6ad65286c3dde996f606b.tar.gz
upstream-016b406665a33c0c30b6ad65286c3dde996f606b.tar.bz2
upstream-016b406665a33c0c30b6ad65286c3dde996f606b.zip
mac80211: update to wireless-testing 2010-03-03
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20032 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch2
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)