package the bcm63xx-spi driver
[openwrt/openwrt.git] / package / mac80211 / patches / 408-ath9k-fix-compile-error-in-ahb.c.patch
1 From c464fc7b864a15422d2d7e52f3ac3c09999a8514 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 6 Mar 2009 09:46:06 +0100
4 Subject: [PATCH 1/2] ath9k: fix compile error in ahb.c
5
6 drivers/net/wireless/ath9k/ahb.c: In function 'ath_ahb_probe':
7 drivers/net/wireless/ath9k/ahb.c:136: error: 'aphy' undeclared (first
8 use in this function)
9
10 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
11 ---
12 drivers/net/wireless/ath9k/ahb.c | 1 +
13 1 files changed, 1 insertions(+), 0 deletions(-)
14
15 --- a/drivers/net/wireless/ath9k/ahb.c
16 +++ b/drivers/net/wireless/ath9k/ahb.c
17 @@ -60,6 +60,7 @@ static struct ath_bus_ops ath_ahb_bus_op
18 static int ath_ahb_probe(struct platform_device *pdev)
19 {
20 void __iomem *mem;
21 + struct ath_wiphy *aphy;
22 struct ath_softc *sc;
23 struct ieee80211_hw *hw;
24 struct resource *res;