From: Larry Finger Date: Mon, 26 May 2014 19:06:05 +0000 (-0500) Subject: staging: r8192ee: Fix build errors when PCI is not available X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=42e4c20f114c71e12cdf35d9b5dd60d2546c7d57;p=linux-beck.git staging: r8192ee: Fix build errors when PCI is not available 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 Reported-by: Ben Hutchings Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192ee/Kconfig b/drivers/staging/rtl8192ee/Kconfig index 92c5f442df3d..beb07ac24e80 100644 --- a/drivers/staging/rtl8192ee/Kconfig +++ b/drivers/staging/rtl8192ee/Kconfig @@ -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.