2010-03-10 11:23:06

by Luciano Coelho

[permalink] [raw]
Subject: [PATCH] wl1271: Changed wl1271_sdio to be selectable only on ARM

From: Teemu Paasikivi <[email protected]>

As wl1271_sdio implementation depends on ARM GPIO impelementation it is
not directly usable on other architectures at the moment. Added
ARM dependency to kernel configuration option.

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Teemu Paasikivi <[email protected]>
Reviewed-by: Luciano Coelho <[email protected]>
Signed-off-by: Luciano Coelho <[email protected]>
---
drivers/net/wireless/wl12xx/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig
index 2f67335..337fc7b 100644
--- a/drivers/net/wireless/wl12xx/Kconfig
+++ b/drivers/net/wireless/wl12xx/Kconfig
@@ -53,7 +53,7 @@ config WL1271
unsure.

config WL1271_SPI
- tristate "TI wl1251 SPI support"
+ tristate "TI wl1271 SPI support"
depends on WL1271 && SPI_MASTER
---help---
This module adds support for the SPI interface of adapters using
@@ -65,7 +65,7 @@ config WL1271_SPI

config WL1271_SDIO
tristate "TI wl1271 SDIO support"
- depends on WL1271 && MMC
+ depends on WL1271 && MMC && ARM
---help---
This module adds support for the SDIO interface of adapters using
TI wl1271 chipset. Select this if your platform is using
--
1.6.3.3