Commit 76a3ccab authored by Henry Ptasinski's avatar Henry Ptasinski Committed by Greg Kroah-Hartman

staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set.

Signed-off-by: default avatarHenry Ptasinski <henryp@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent efd89a22
...@@ -67,10 +67,9 @@ PCIFILES := \ ...@@ -67,10 +67,9 @@ PCIFILES := \
MODULEPFX := brcm80211 MODULEPFX := brcm80211
obj-m += $(MODULEPFX).o
# PCI driver # PCI driver
ifeq ($(CONFIG_BRCM80211_PCI),y) ifeq ($(CONFIG_BRCM80211_PCI),y)
obj-m += $(MODULEPFX).o
ccflags-y += $(PCI_CFLAGS) ccflags-y += $(PCI_CFLAGS)
$(MODULEPFX)-objs = $(BRCM80211_OFILES) $(PCIFILES) $(MODULEPFX)-objs = $(BRCM80211_OFILES) $(PCIFILES)
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment