From: Gabor Juhos Date: Fri, 6 Mar 2009 08:57:38 +0000 (+0100) Subject: ath9k: fix compile error in ahb.c X-Git-Tag: Ubuntu-5.10.0-12.13~33938^2~195^2~46 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9251f0b418b202e2712c3408a5c6a5904ce4f453;p=mirror_ubuntu-hirsute-kernel.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 bc562bd88890..00cc7bb01f2e 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;