remove ARM dependency and fix header file mistake. Need enable kernel config as 
following.

CONFIG_WL12XX=y
# CONFIG_WL1251 is not set
CONFIG_WL1271=m
# CONFIG_WL1271_SPI is not set
CONFIG_WL1271_SDIO=m
CONFIG_WL12XX_PLATFORM_DATA=y

Signed-off-by: Shuduo Sang <[email protected]>

diff -Nur a/drivers/net/wireless/wl12xx/Kconfig 
b/drivers/net/wireless/wl12xx/Kconfig
--- a/drivers/net/wireless/wl12xx/Kconfig       2010-12-06 14:22:17.560572804 
+0800
+++ b/drivers/net/wireless/wl12xx/Kconfig       2010-12-06 14:26:58.121076032 
+0800
@@ -65,7 +65,7 @@

 config WL1271_SDIO
        tristate "TI wl1271 SDIO support"
-       depends on WL1271 && MMC && ARM
+       depends on WL1271 && MMC
        ---help---
          This module adds support for the SDIO interface of adapters using
          TI wl1271 chipset.  Select this if your platform is using
diff -Nur a/drivers/net/wireless/wl12xx/wl1271_sdio.c 
b/drivers/net/wireless/wl12xx/wl1271_sdio.c
--- a/drivers/net/wireless/wl12xx/wl1271_sdio.c 2010-08-02 06:11:14.000000000 
+0800
+++ b/drivers/net/wireless/wl12xx/wl1271_sdio.c 2010-12-06 14:26:16.641075918 
+0800
@@ -28,7 +28,7 @@
 #include <linux/mmc/sdio_func.h>
 #include <linux/mmc/sdio_ids.h>
 #include <linux/mmc/card.h>
-#include <plat/gpio.h>
+#include <linux/gpio.h>

 #include "wl1271.h"
 #include "wl12xx_80211.h"

Attachment: fix-wl1271-sdio-driver.patch
Description: fix-wl1271-sdio-driver.patch

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to