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 */
7 - if (pdata && pdata->eeprom_name) {
8 - ret = ath9k_eeprom_request(sc, pdata->eeprom_name);
10 + ret = ath9k_eeprom_request(sc, NULL);
14 --- a/include/linux/ath9k_platform.h
15 +++ b/include/linux/ath9k_platform.h
17 #define ATH9K_PLAT_EEP_MAX_WORDS 2048
19 struct ath9k_platform_data {
20 - const char *eeprom_name;
22 u16 eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS];