diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-01-30 13:21:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-01-30 13:21:36 +0000 |
commit | eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74 (patch) | |
tree | f384015bf67b4da2efefd6d04a7f620dfe4504b1 /package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch | |
parent | 2725913d2acca4774c41c7de0d8f4940615a3f1d (diff) | |
download | upstream-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.tar.gz upstream-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.tar.bz2 upstream-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.zip |
mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39427
Diffstat (limited to 'package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch')
-rw-r--r-- | package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch b/package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch index 666bc2dc55..4bc6f37adb 100644 --- a/package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch +++ b/package/kernel/mac80211/patches/604-rt2x00-of_load_eeprom_filename.patch @@ -8,12 +8,14 @@ #include "rt2x00.h" #include "rt2x00lib.h" -@@ -34,11 +35,19 @@ static const char * +@@ -34,11 +35,21 @@ static const char * rt2x00lib_get_eeprom_file_name(struct rt2x00_dev *rt2x00dev) { struct rt2x00_platform_data *pdata = rt2x00dev->dev->platform_data; ++#ifdef CONFIG_OF + struct device_node *np; -+ char *eep; ++ const char *eep; ++#endif if (pdata && pdata->eeprom_file_name) return pdata->eeprom_file_name; |