staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set.
authorHenry Ptasinski <henryp@broadcom.com>
Sun, 26 Sep 2010 20:18:38 +0000 (13:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 01:23:56 +0000 (18:23 -0700)
Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/Makefile

index 68cbcbbc2e5660e638350f5758c0ac9c24dcd70a..f65df844a678688d26b04ac7b715fff5e5c8127e 100644 (file)
@@ -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