ath9k: adjust ahb callbacks to new struct layout to avoid compile errors
PATCH 1/1 ath9k: adjust ahb callbacks to new struct layout to avoid compile errors
Signed-off-by Marek Lindner <[email protected]>
--- drivers/net/wireless/ath/ath9k/ahb.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
drivers/net/wireless/ath/ath9k/ahb.c +2 -4
@@ -29,15 +29,13 @@ static void ath_ahb_read_cachesize(struct ath_common *common, int *csz)static void ath_ahb_cleanup (struct ath_common *common) { -struct ath_hw *ah = (struct ath_hw *) common->ah; -struct ath_softc *sc = ah->ah_sc; +struct ath_softc *sc = (struct ath_softc *)common->priv;iounmap (sc->mem); }static bool ath_ahb_eeprom_read (struct ath_common *common,u32 off,u16 *data) { -struct ath_hw *ah = (struct ath_hw *) common->ah; -struct ath_softc *sc = ah->ah_sc; +struct ath_softc *sc = (struct ath_softc *)common->priv;struct platform_device *pdev =to_platform_device (sc->dev);struct ath9k_platform_data *pdata;
Signature · 1 line
1.6.4.3
PATCH 1/1 ath9k: adjust ahb callbacks to new struct layout to avoid compile errors
Quoted 2 lines · Marek Lindner
Signed-off-by Marek Lindner <[email protected]>
Thanks, would you mind resending addressing John Linville on the to header and CC'ing linux-wireless ?
Luis
PATCH 1/1 ath9k: adjust ahb callbacks to new struct layout to avoid compile errors
Quoted 5 lines · On Wednesday 14 October 2009 02:20:42 Luis R. Rodriguez wrote:
Quoted 1 line · Marek Lindner
Signed-off-by Marek Lindner <[email protected]>Thanks, would you mind resending addressing John Linville on the to header and CC'ing linux-wireless ?
No problem - will do so.
Regards,
Marek