compat-wireless: ti: fix some problems with the config options
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Apr 2012 22:03:14 +0000 (00:03 +0200)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Mon, 23 Apr 2012 23:26:19 +0000 (16:26 -0700)
After the ti drivers where reorganized some config options in config.mk
where wrong. This patch corrects them.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
config.mk
patches/08-rename-config-options.patch

index 22a8cf13b05ff95d107ec59729d71dc995065176..012a59fa4e46b9eed1755cc106b77a21bfb933a0 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -545,7 +545,7 @@ ifndef CONFIG_COMPAT_KERNEL_2_6_25
 
 ifdef CONFIG_CRC7
 export CONFIG_WL1251_SPI=m
-export CONFIG_WL12XX_SPI=m
+export CONFIG_WLCORE_SPI=m
 endif #CONFIG_CRC7
 export CONFIG_P54_SPI=m
 
@@ -568,14 +568,8 @@ export CONFIG_B43_SDIO=y
 ifdef CONFIG_CRC7
 ifdef CONFIG_WL12XX_PLATFORM_DATA
 export CONFIG_COMPAT_WL1251_SDIO=m
+export CONFIG_WLCORE_SDIO=m
 endif #CONFIG_WL12XX_PLATFORM_DATA
-
-ifndef CONFIG_COMPAT_KERNEL_2_6_32
-ifdef CONFIG_WL12XX_PLATFORM_DATA
-export CONFIG_COMPAT_WLCORE_SDIO=m
-endif #CONFIG_WL12XX_PLATFORM_DATA
-endif #CONFIG_COMPAT_KERNEL_2_6_32
-
 endif #CONFIG_CRC7
 
 export CONFIG_MWIFIEX_SDIO=m
@@ -639,6 +633,9 @@ export CONFIG_ATH_COMMON=m
 export CONFIG_BRCMUTIL=m
 # export CONFIG_BRCMDBG=y
 
+export CONFIG_WL_TI=y
+export CONFIG_WLCORE=m
+
 ifdef CONFIG_CRC7
 export CONFIG_WL1251=m
 export CONFIG_WL12XX=m
index 52143d17ddfba30354022c0d9b361681342ac82f..da639892e4588d7feefed9fc2f4323d6e89ea2a4 100644 (file)
@@ -90,17 +90,6 @@ CONFIG_BT_HIDP does not build with older kernel versions.
 +obj-$(CONFIG_COMPAT_BT_HIDP) += hidp.o
  
  hidp-objs := core.o sock.o
---- a/drivers/net/wireless/ti/wlcore/Makefile
-+++ b/drivers/net/wireless/ti/wlcore/Makefile
-@@ -7,7 +7,7 @@ wlcore_sdio-objs       = sdio.o
- wlcore-$(CONFIG_NL80211_TESTMODE)     += testmode.o
- obj-$(CONFIG_WLCORE)                  += wlcore.o
- obj-$(CONFIG_WLCORE_SPI)              += wlcore_spi.o
--obj-$(CONFIG_WLCORE_SDIO)             += wlcore_sdio.o
-+obj-$(CONFIG_COMPAT_WLCORE_SDIO)      += wlcore_sdio.o
- # small builtin driver bit
- obj-$(CONFIG_WL12XX_PLATFORM_DATA)    += wl12xx_platform_data.o
 --- a/drivers/net/wireless/ti/wl1251/Makefile
 +++ b/drivers/net/wireless/ti/wl1251/Makefile
 @@ -5,6 +5,6 @@ wl1251_sdio-objs       += sdio.o