* [PATCH] ath6kl: force building as a module
@ 2012-01-04 9:41 Kalle Valo
2012-01-04 9:48 ` Kalle Valo
2012-01-04 18:28 ` David Miller
0 siblings, 2 replies; 4+ messages in thread
From: Kalle Valo @ 2012-01-04 9:41 UTC (permalink / raw)
To: linville; +Cc: ath6kl-devel, linux-wireless
Stephen reported that ath6kl fails if both sdio and usb are built
into the kernel:
ath6kl/cfg80211.c:27:1: error: expected ')' before 'KBUILD_MODNAME'
ath6kl/cfg80211.c:27:1: error: 'KBUILD_MODNAME' undeclared here (not in a function)
ath6kl/cfg80211.c:27:1: error: expected ',' or ';' before string constant
As a temporary fix make ath6kl build only as a module. This will be reverted
once a separate ath6kl core module is implemented which will fix this
properly.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath6kl/Kconfig | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/Kconfig b/drivers/net/wireless/ath/ath6kl/Kconfig
index d755a5e..d290ec7 100644
--- a/drivers/net/wireless/ath/ath6kl/Kconfig
+++ b/drivers/net/wireless/ath/ath6kl/Kconfig
@@ -6,6 +6,7 @@ config ATH6KL_SDIO
depends on ATH6KL
depends on MMC
depends on CFG80211
+ depends on m
---help---
This module adds support for wireless adapters based on
Atheros AR6003 and AR6004 chipsets running over SDIO. If you
@@ -19,6 +20,7 @@ config ATH6KL_USB
depends on USB
depends on CFG80211
depends on EXPERIMENTAL
+ depends on m
---help---
This module adds support for wireless adapters based on
Atheros AR6004 chipset running over USB. This is still under
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ath6kl: force building as a module
2012-01-04 9:41 [PATCH] ath6kl: force building as a module Kalle Valo
@ 2012-01-04 9:48 ` Kalle Valo
2012-01-04 18:28 ` David Miller
2012-01-04 18:28 ` David Miller
1 sibling, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2012-01-04 9:48 UTC (permalink / raw)
To: linville
Cc: ath6kl-devel, linux-wireless, Stephen Rothwell, David Miller,
linux-next
On 01/04/2012 11:41 AM, Kalle Valo wrote:
> Stephen reported that ath6kl fails if both sdio and usb are built
> into the kernel:
>
> ath6kl/cfg80211.c:27:1: error: expected ')' before 'KBUILD_MODNAME'
> ath6kl/cfg80211.c:27:1: error: 'KBUILD_MODNAME' undeclared here (not in a function)
> ath6kl/cfg80211.c:27:1: error: expected ',' or ';' before string constant
>
> As a temporary fix make ath6kl build only as a module. This will be reverted
> once a separate ath6kl core module is implemented which will fix this
> properly.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Sorry, forgot to CC people. The original patch is here:
http://marc.info/?l=linux-wireless&m=132567025132302&w=2
John, can you please take this directly so that the build problem gets
fixed quickly? I will also apply it to ath6kl.git but that should not
create any merge problems.
Kalle
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ath6kl: force building as a module
2012-01-04 9:41 [PATCH] ath6kl: force building as a module Kalle Valo
2012-01-04 9:48 ` Kalle Valo
@ 2012-01-04 18:28 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2012-01-04 18:28 UTC (permalink / raw)
To: kvalo; +Cc: linville, ath6kl-devel, linux-wireless
From: Kalle Valo <kvalo@qca.qualcomm.com>
Date: Wed, 04 Jan 2012 11:41:34 +0200
> Stephen reported that ath6kl fails if both sdio and usb are built
> into the kernel:
>
> ath6kl/cfg80211.c:27:1: error: expected ')' before 'KBUILD_MODNAME'
> ath6kl/cfg80211.c:27:1: error: 'KBUILD_MODNAME' undeclared here (not in a function)
> ath6kl/cfg80211.c:27:1: error: expected ',' or ';' before string constant
>
> As a temporary fix make ath6kl build only as a module. This will be reverted
> once a separate ath6kl core module is implemented which will fix this
> properly.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
NACK, fix this properly.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ath6kl: force building as a module
2012-01-04 9:48 ` Kalle Valo
@ 2012-01-04 18:28 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2012-01-04 18:28 UTC (permalink / raw)
To: kvalo; +Cc: linville, ath6kl-devel, linux-wireless, sfr, linux-next
From: Kalle Valo <kvalo@qca.qualcomm.com>
Date: Wed, 4 Jan 2012 11:48:40 +0200
> On 01/04/2012 11:41 AM, Kalle Valo wrote:
>> Stephen reported that ath6kl fails if both sdio and usb are built
>> into the kernel:
>>
>> ath6kl/cfg80211.c:27:1: error: expected ')' before 'KBUILD_MODNAME'
>> ath6kl/cfg80211.c:27:1: error: 'KBUILD_MODNAME' undeclared here (not in a function)
>> ath6kl/cfg80211.c:27:1: error: expected ',' or ';' before string constant
>>
>> As a temporary fix make ath6kl build only as a module. This will be reverted
>> once a separate ath6kl core module is implemented which will fix this
>> properly.
>>
>> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
>> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
>
> Sorry, forgot to CC people. The original patch is here:
>
> http://marc.info/?l=linux-wireless&m=132567025132302&w=2
>
> John, can you please take this directly so that the build problem gets
> fixed quickly? I will also apply it to ath6kl.git but that should not
> create any merge problems.
John can you very much NOT include this change, and if the ath6kl maintainers
can't fix this properly then revert the changes that caused this regression
in the first place?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-04 18:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 9:41 [PATCH] ath6kl: force building as a module Kalle Valo
2012-01-04 9:48 ` Kalle Valo
2012-01-04 18:28 ` David Miller
2012-01-04 18:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).