438094bad9468a8b379ae299b6eef4a6558c25ec
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 320-ath9k_no_eeprom_name.patch
1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -631,8 +631,8 @@ static int ath9k_init_softc(u16 devid, s
4 ath_read_cachesize(common, &csz);
5 common->cachelsz = csz << 2; /* convert to bytes */
6
7 - if (pdata && pdata->eeprom_name) {
8 - ret = ath9k_eeprom_request(sc, pdata->eeprom_name);
9 + if (0) {
10 + ret = ath9k_eeprom_request(sc, NULL);
11 if (ret)
12 return ret;
13 }
14 --- a/include/linux/ath9k_platform.h
15 +++ b/include/linux/ath9k_platform.h
16 @@ -22,8 +22,6 @@
17 #define ATH9K_PLAT_EEP_MAX_WORDS 2048
18
19 struct ath9k_platform_data {
20 - const char *eeprom_name;
21 -
22 u16 eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS];
23 u8 *macaddr;
24