From: Henry Ptasinski Date: Sun, 26 Sep 2010 20:18:38 +0000 (-0700) Subject: staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=76a3ccabf25bc3a52c3377bfdfc3ecc16499180b;p=openwrt%2Fstaging%2Fblogic.git staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set. Signed-off-by: Henry Ptasinski Signed-off-by: Greg Kroah-Hartman --- 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