This patch is not useful since we are using compat-wireless wl12xx driver. It's the backport version of the upstream driver.
Eric > -----Original Message----- > From: [email protected] [mailto:meego-kernel- > [email protected]] On Behalf Of Sang, Shuduo > Sent: Wednesday, December 08, 2010 7:10 AM > To: [email protected] > Subject: [Meego-kernel] [PATCH 1/1] fix wl1271 sdio driver > > 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" --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
