summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-03-06 09:57:38 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-16 23:09:32 +0100
commit9251f0b418b202e2712c3408a5c6a5904ce4f453 (patch)
treec55c67e0036ab0f2bcd3096492fba1e6abccaa96 /drivers
parentath9k: fix AR_SREV_9100_OR_LATER macro (diff)
downloadlinux-9251f0b418b202e2712c3408a5c6a5904ce4f453.tar.xz
linux-9251f0b418b202e2712c3408a5c6a5904ce4f453.zip
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 <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath9k/ahb.c1
1 files changed, 1 insertions, 0 deletions
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;