This deactivate the wl1271_sdio driver, because it needs
wl12xx_platform_data.c directly compiled into the kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
CONFIG_WL1251_SDIO=m
ifndef CONFIG_COMPAT_KERNEL_32
+ifdef CONFIG_WL12XX_PLATFORM_DATA
CONFIG_WL1271_SDIO=m
+endif #CONFIG_WL12XX_PLATFORM_DATA
endif #CONFIG_COMPAT_KERNEL_32
endif #CONFIG_CRC7
INCLUDE_LINUX="ieee80211.h nl80211.h"
INCLUDE_LINUX="$INCLUDE_LINUX pci_ids.h eeprom_93cx6.h"
INCLUDE_LINUX="$INCLUDE_LINUX ath9k_platform.h"
+INCLUDE_LINUX="$INCLUDE_LINUX wl12xx.h"
# For rndis_wext
INCLUDE_LINUX_USB="usbnet.h rndis_host.h"
-INCLUDE_LINUX_SPI="wl12xx.h libertas_spi.h"
+INCLUDE_LINUX_SPI="libertas_spi.h"
# The good new yummy stuff
INCLUDE_NET="cfg80211.h ieee80211_radiotap.h"