diff --git a/drivers/staging/brcm80211/Makefile b/drivers/staging/brcm80211/Makefile index 68cbcbbc2e56..f65df844a678 100644 --- a/drivers/staging/brcm80211/Makefile +++ b/drivers/staging/brcm80211/Makefile @@ -67,10 +67,9 @@ PCIFILES := \ MODULEPFX := brcm80211 -obj-m += $(MODULEPFX).o - # PCI driver ifeq ($(CONFIG_BRCM80211_PCI),y) +obj-m += $(MODULEPFX).o ccflags-y += $(PCI_CFLAGS) $(MODULEPFX)-objs = $(BRCM80211_OFILES) $(PCIFILES) endif