2009-03-06 08:57:43

by Gabor Juhos

[permalink] [raw]
Subject: [PATCH 0/2] ath9k: fix compile errors

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


2009-03-06 17:54:57

by Gabor Juhos

[permalink] [raw]
Subject: Re: [ath9k-devel] [PATCH 0/2] ath9k: fix compile errors

Jouni Malinen =EDrta:
> On Fri, 2009-03-06 at 00:57 -0800, Gabor Juhos wrote:
>> This set will correct two compilation errors in master-2009-03-04
>> of wireless-testing.
>=20
> 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

2009-03-06 10:30:36

by Jouni Malinen

[permalink] [raw]
Subject: Re: [ath9k-devel] [PATCH 0/2] ath9k: fix compile errors

On Fri, 2009-03-06 at 00:57 -0800, Gabor Juhos wrote:
> 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



2009-03-06 08:57:43

by Gabor Juhos

[permalink] [raw]
Subject: [PATCH 2/2] ath9k: fix compile error in debug.c

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'

Signed-off-by: Gabor Juhos <[email protected]>
---
drivers/net/wireless/ath9k/debug.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath9k/debug.c b/drivers/net/wireless/ath9k/debug.c
index 8d91422..bce6476 100644
--- a/drivers/net/wireless/ath9k/debug.c
+++ b/drivers/net/wireless/ath9k/debug.c
@@ -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;
--
1.5.3.2


2009-03-06 08:57:43

by Gabor Juhos

[permalink] [raw]
Subject: [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)

Signed-off-by: Gabor Juhos <[email protected]>
---
drivers/net/wireless/ath9k/ahb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath9k/ahb.c b/drivers/net/wireless/ath9k/ahb.c
index bc562bd..00cc7bb 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;
--
1.5.3.2