forked from Minki/linux
staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set.
Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
efd89a2204
commit
76a3ccabf2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user