ath9k: fix compile error in ahb.c
authorGabor Juhos <juhosg@openwrt.org>
Fri, 6 Mar 2009 08:57:38 +0000 (09:57 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:32 +0000 (18:09 -0400)
drivers/net/wireless/ath9k/ahb.c: In function 'ath_ahb_probe':
drivers/net/wireless/ath9k/ahb.c:136: error: 'aphy' undeclared (first
use in this function)

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ahb.c

index bc562bd8889092a3a7afe2d4cb2111674dcb610e..00cc7bb01f2ee17cb28620df66d75124b116fe69 100644 (file)
@@ -60,6 +60,7 @@ static struct ath_bus_ops ath_ahb_bus_ops  = {
 static int ath_ahb_probe(struct platform_device *pdev)
 {
        void __iomem *mem;
+       struct ath_wiphy *aphy;
        struct ath_softc *sc;
        struct ieee80211_hw *hw;
        struct resource *res;