Skip to content

Commit

Permalink
rtlwifi: Let rtlwifi build when PCI is not enabled
Browse files Browse the repository at this point in the history
On systems where PCI does not exist, a build of rtlwifi will fail.
Apply the same fix in case there are systems with PCI but not USB.

Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: Larry Finger <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
wtarreau authored and linvjw committed Feb 23, 2011
1 parent 4c0f13f commit 892c05c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/net/wireless/rtlwifi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ rtlwifi-objs := \
core.o \
debug.o \
efuse.o \
pci.o \
ps.o \
rc.o \
regd.o \
usb.o

ifeq ($(CONFIG_PCI),y)
rtlwifi-objs += pci.o
endif

obj-$(CONFIG_RTL8192CE) += rtl8192ce/
obj-$(CONFIG_RTL8192CU) += rtl8192cu/

Expand Down

0 comments on commit 892c05c

Please sign in to comment.