From: Gabor Juhos Date: Fri, 6 Mar 2009 08:57:38 +0000 (+0100) Subject: ath9k: fix compile error in ahb.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9251f0b418b202e2712c3408a5c6a5904ce4f453;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ath9k: fix compile error in ahb.c 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath9k/ahb.c b/drivers/net/wireless/ath9k/ahb.c index bc562bd8889..00cc7bb01f2 100644 --- a/drivers/net/wireless/ath9k/ahb.c +++ b/drivers/net/wireless/ath9k/ahb.c @@ -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;