staging: r8192ee: Fix build errors when PCI is not available
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 26 May 2014 19:06:05 +0000 (14:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 03:17:51 +0000 (20:17 -0700)
A build of this driver fails when PCI is not selected. It would also
fail if MAC80211 is not selected. Kconfig is fixed to handle these
conditions, and to select additional necessary components.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192ee/Kconfig

index 92c5f44..beb07ac 100644 (file)
@@ -1,6 +1,13 @@
 config R8192EE
        tristate "Realtek RTL8192EE Wireless Network Adapter"
+       depends on PCI && WLAN && MAC80211
+       depends on m
+       select WIRELESS_EXT
+       select WEXT_PRIV
+       select EEPROM_93CX6
+       select CRYPTO
        select FW_LOADER
+       default N
        ---help---
        This is the driver for Realtek RTL8192EE 802.11 PCIe
        wireless network adapters.