ifdef CONFIG_CRC7
CONFIG_WL1251_SPI=m
-CONFIG_WL12XX_SPI=m
+CONFIG_COMPAT_WL12XX_SPI=m
endif #CONFIG_CRC7
CONFIG_P54_SPI=m
ifndef CONFIG_COMPAT_KERNEL_32
ifdef CONFIG_WL12XX_PLATFORM_DATA
-CONFIG_WL12XX_SDIO=m
+CONFIG_COMPAT_WL12XX_SDIO=m
endif #CONFIG_WL12XX_PLATFORM_DATA
endif #CONFIG_COMPAT_KERNEL_32
ifdef CONFIG_CRC7
CONFIG_WL1251=m
-CONFIG_WL12XX=m
+CONFIG_COMPAT_WL12XX=m
CONFIG_WL12XX_HT=y
endif #CONFIG_CRC7
+obj-$(CONFIG_COMPAT_BT_HIDP) += hidp.o
hidp-objs := core.o sock.o
+--- a/drivers/net/wireless/wl12xx/Makefile
++++ b/drivers/net/wireless/wl12xx/Makefile
+@@ -6,11 +6,11 @@
+ wl12xx_sdio_test-objs = sdio_test.o
+
+ wl12xx-$(CONFIG_NL80211_TESTMODE) += testmode.o
+-obj-$(CONFIG_WL12XX) += wl12xx.o
+-obj-$(CONFIG_WL12XX_SPI) += wl12xx_spi.o
+-obj-$(CONFIG_WL12XX_SDIO) += wl12xx_sdio.o
++obj-$(CONFIG_COMPAT_WL12XX) += wl12xx.o
++obj-$(CONFIG_COMPAT_WL12XX_SPI) += wl12xx_spi.o
++obj-$(CONFIG_COMPAT_WL12XX_SDIO) += wl12xx_sdio.o
+
+-obj-$(CONFIG_WL12XX_SDIO_TEST) += wl12xx_sdio_test.o
++obj-$(CONFIG_COMPAT_WL12XX_SDIO_TEST) += wl12xx_sdio_test.o
+
+ # small builtin driver bit
+ obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx_platform_data.o