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@xxxxxxxxxxxxxxxx> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html