From cb01697daaa90b1663d86cc59e7322368a820326 Mon Sep 17 00:00:00 2001 From: Marek Lindner Date: Wed, 14 Oct 2009 23:04:45 +0800 Subject: [PATCH] --- yaml --- r: 170987 b: refs/heads/master c: e307fcf0a10f9c0c21b3d8b2ff7862b29796cc7f h: refs/heads/master i: 170985: ced8c496d549ed81b4d641f0d2a91cb238cb48bb 170983: 4b2e75a84d575bcba9a47e1db11be23545f151e7 v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/ath/ath9k/ahb.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index db75332eb78e..3c0bc706692f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6d898b1983b62ad52f862014748ddce35aad005a +refs/heads/master: e307fcf0a10f9c0c21b3d8b2ff7862b29796cc7f diff --git a/trunk/drivers/net/wireless/ath/ath9k/ahb.c b/trunk/drivers/net/wireless/ath/ath9k/ahb.c index 33c9e8167185..25531f231b67 100644 --- a/trunk/drivers/net/wireless/ath/ath9k/ahb.c +++ b/trunk/drivers/net/wireless/ath/ath9k/ahb.c @@ -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;