-@@ -567,6 +569,9 @@ static int ath9k_init_softc(u16 devid, s
+@@ -540,7 +542,7 @@ static int ath9k_init_softc(u16 devid, s
+ ah->hw_version.subsysid = subsysid;
+ sc->sc_ah = ah;
+
+- if (!sc->dev->platform_data)
++ if (!pdata)
+ ah->ah_flags |= AH_USE_EEPROM;
+
+ common = ath9k_hw_common(ah);
+@@ -576,6 +578,9 @@ static int ath9k_init_softc(u16 devid, s