base/memory, hotplug: fix a kernel oops in show_valid_zones()
[firefly-linux-kernel-4.4.55.git] / drivers / bcma / Makefile
index 838b4b9d352ffc1d6c7790426bde8502712cc8dc..f32af9b76bcd2aaa7e0da61e26b2e33174803f7f 100644 (file)
@@ -3,8 +3,8 @@ bcma-y                                  += driver_chipcommon.o driver_chipcommon_pmu.o
 bcma-y                                 += driver_chipcommon_b.o
 bcma-$(CONFIG_BCMA_SFLASH)             += driver_chipcommon_sflash.o
 bcma-$(CONFIG_BCMA_NFLASH)             += driver_chipcommon_nflash.o
-bcma-y                                 += driver_pci.o
-bcma-y                                 += driver_pcie2.o
+bcma-$(CONFIG_BCMA_DRIVER_PCI)         += driver_pci.o
+bcma-$(CONFIG_BCMA_DRIVER_PCI)         += driver_pcie2.o
 bcma-$(CONFIG_BCMA_DRIVER_PCI_HOSTMODE)        += driver_pci_host.o
 bcma-$(CONFIG_BCMA_DRIVER_MIPS)                += driver_mips.o
 bcma-$(CONFIG_BCMA_DRIVER_GMAC_CMN)    += driver_gmac_cmn.o