From 76a3ccabf25bc3a52c3377bfdfc3ecc16499180b Mon Sep 17 00:00:00 2001 From: Henry Ptasinski Date: Sun, 26 Sep 2010 13:18:38 -0700 Subject: [PATCH] staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set. Signed-off-by: Henry Ptasinski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2