ath9k: fix compile errors
cover ath9k: fix compile errors
This set will correct two compilation errors in master-2009-03-04 of wireless-testing.
PATCH 1/2 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)
--- drivers/net/wireless/ath9k/ahb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/ath9k/ahb.c +1 -0
@@ -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;
Signature · 1 line
1.5.3.2
PATCH 2/2 ath9k: fix compile error in debug.c
In reply to Gabor Juhosdrivers/net/wireless/ath9k/debug.c: In function 'read_file_wiphy':drivers/net/wireless/ath9k/debug.c:377: error: implicit declaration of function 'put_unaligned_le32' drivers/net/wireless/ath9k/debug.c:378: error: implicit declaration of function 'put_unaligned_le16'
--- drivers/net/wireless/ath9k/debug.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/ath9k/debug.c +2 -0
@@ -14,6 +14,8 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <asm/unaligned.h> +#include "ath9k.h" static unsigned int ath9k_debug =DBG_DEFAULT ;
Signature · 1 line
1.5.3.2
cover ath9k: fix compile errors
In reply to Gabor JuhosQuoted 2 lines · Gabor Juhos
This set will correct two compilation errors in master-2009-03-04 of wireless-testing.
Thanks for fixing these and the no-RFKILL build issue! Looks like I should try to get a build setup for testing ahb.c build myself..
- Jouni
cover ath9k: fix compile errors
Jouni Malinen ?rta:
Quoted 6 lines · Gabor Juhos
Quoted 2 lines
This set will correct two compilation errors in master-2009-03-04 of wireless-testing.
Thanks for fixing these and the no-RFKILL build issue! Looks like I should try to get a build setup for testing
ahb.cbuild myself..
No problem.
Gabor