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
commitc5885e669e770031a35ab06c48d88c8c783e9545 (patch)
tree94cc6035ddcc431eeed24471248691db5fcd3a40 /package/mac80211/patches/405-ath9k-read-eeprom-data-from-platform-data-on-pci-bus.patch
parent44371569612a97c7dd7b8943b062862f56ffbcb1 (diff)
downloadupstream-c5885e669e770031a35ab06c48d88c8c783e9545.tar.gz
upstream-c5885e669e770031a35ab06c48d88c8c783e9545.tar.bz2
upstream-c5885e669e770031a35ab06c48d88c8c783e9545.zip
mac80211: update to wireless-testing 2010-03-03
SVN-Revision: 20032
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)