Skip to contentSkip to conversation

ath9k: fix compile errors

PATCH New Gabor Juhos 2 participants 5 messages Mar 6, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

cover ath9k: fix compile errors

This set will correct two compilation errors in master-2009-03-04 of wireless-testing.

#1 lore raw

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
index bc562bd..00cc7bb 100644
@@ -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
#2 lore raw

PATCH 2/2 ath9k: fix compile error in debug.c

In reply to Gabor Juhos

drivers/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
index 8d91422..bce6476 100644
@@ -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
#3 lore raw

cover ath9k: fix compile errors

In reply to Gabor Juhos
Quoted 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

#4 lore raw

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.c build myself..

No problem.

Gabor