[Meego-kernel] [PATCH 1/1] fix wl1271 sdio driver

Sang, Shuduo shuduo.sang at intel.com
Tue Dec 7 22:09:48 PST 2010


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 <shuduo.sang at intel.com>

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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-wl1271-sdio-driver.patch
Type: application/octet-stream
Size: 1107 bytes
Desc: fix-wl1271-sdio-driver.patch
URL: <http://lists.meego.com/pipermail/meego-kernel/attachments/20101208/c7353481/attachment.obj>


More information about the MeeGo-kernel mailing list