mac80211: brcmsmac: fix a build warning, till we update bcma
[openwrt.git] / package / mac80211 / patches / 005-disable_ssb_build.patch
index 7a0f6c3..a67168a 100644 (file)
@@ -1,12 +1,47 @@
 --- a/Makefile
 +++ b/Makefile
-@@ -20,8 +20,7 @@ NOSTDINC_FLAGS := -I$(M)/include/ -inclu
- obj-y := net/wireless/ net/mac80211/
- ifeq ($(ONLY_CORE),)
- obj-$(CONFIG_B44) += drivers/net/b44.o
--obj-y += drivers/ssb/ \
--      drivers/misc/ \
-+obj-y += drivers/misc/ \
-       drivers/net/usb/ \
-       drivers/net/wireless/
+@@ -32,7 +32,6 @@ obj-$(CONFIG_COMPAT_WIRELESS_MODULES) +=
+ obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/
+-obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/
+ obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/bcma/
+ obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/misc/eeprom/
+--- a/config.mk
++++ b/config.mk
+@@ -9,7 +9,6 @@ ifeq ($(wildcard $(KLIB_BUILD)/.config),
+  CONFIG_PCI=y
+  CONFIG_USB=y
+  CONFIG_PCMCIA=y
+- CONFIG_SSB=m
+ else
+ include $(KLIB_BUILD)/.config
  endif
+@@ -356,7 +355,8 @@ CONFIG_IPW2200_QOS=y
+ # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
+ endif #CONFIG_WIRELESS_EXT
+-ifdef CONFIG_SSB
++# disabled
++ifdef __CONFIG_SSB
+ # Sonics Silicon Backplane
+ CONFIG_SSB_SPROM=y
+@@ -369,7 +369,7 @@ endif #CONFIG_PCMCIA
+ # CONFIG_SSB_DEBUG=y
+ CONFIG_SSB_DRIVER_PCICORE=y
+ CONFIG_B43_SSB=y
+-endif #CONFIG_SSB
++endif #__CONFIG_SSB
+ CONFIG_BCMA=m
+ CONFIG_BCMA_BLOCKIO=y
+@@ -578,7 +578,6 @@ endif #CONFIG_SPI_MASTER end of SPI driv
+ ifdef CONFIG_MMC
+-CONFIG_SSB_SDIOHOST=y
+ CONFIG_B43_SDIO=y
+ ifdef CONFIG_CRC7
This page took 0.02597 seconds and 4 git commands to generate.