aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2011-02-20 05:43:07 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-02-23 16:25:30 -0500
commit892c05c093858086d808aeb366b2e11106dd96c6 (patch)
treeae201402785f8acf2d5ab0bdd30792ce6d1842b7 /drivers
parent4c0f13f3e7b8c6cbdaddc04579d05ea2bf1145a8 (diff)
rtlwifi: Let rtlwifi build when PCI is not enabled
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 <w@1wt.eu> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/rtlwifi/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/Makefile b/drivers/net/wireless/rtlwifi/Makefile
index c3e83a1da33b..52be12e718ab 100644
--- a/drivers/net/wireless/rtlwifi/Makefile
+++ b/drivers/net/wireless/rtlwifi/Makefile
@@ -5,12 +5,15 @@ rtlwifi-objs := \
5 core.o \ 5 core.o \
6 debug.o \ 6 debug.o \
7 efuse.o \ 7 efuse.o \
8 pci.o \
9 ps.o \ 8 ps.o \
10 rc.o \ 9 rc.o \
11 regd.o \ 10 regd.o \
12 usb.o 11 usb.o
13 12
13ifeq ($(CONFIG_PCI),y)
14rtlwifi-objs += pci.o
15endif
16
14obj-$(CONFIG_RTL8192CE) += rtl8192ce/ 17obj-$(CONFIG_RTL8192CE) += rtl8192ce/
15obj-$(CONFIG_RTL8192CU) += rtl8192cu/ 18obj-$(CONFIG_RTL8192CU) += rtl8192cu/
16 19