Skip to content

Commit

Permalink
staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set.
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Henry Ptasinski authored and Greg Kroah-Hartman committed Sep 27, 2010
1 parent efd89a2 commit 76a3cca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/brcm80211/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76a3cca

Please sign in to comment.