Subject: Re: randconfig build error with next-20140527, in drivers/staging/rtl8192ee

From: Larry Finger <[email-masked]>
Date: Tue, 27 May 2014 13:15:38 -0500

On 05/27/2014 12:27 PM, Jim Davis wrote:
> Building with the attached random configuration file,

A problem with the build when PCI is not selected was reported yesterday. I 
think this build error is caused by MAC80211 not being selected. The fix for 
both problems was merged as commit 42e4c20f114c71e12cdf35d9b5dd60d2546c7d57 
yesterday in staging-next. If it has not reached linux-next, the attached patch 
should fix the problem.

Thanks,

Larry

>>From d10ca90ffaf99f43bb61d5b4001f6a6acfde3454 Mon Sep 17 00:00:00 2001
From: Larry Finger <[email-masked]>
Date: Mon, 26 May 2014 13:35:48 -0500
Subject: [PATCH 2/3] staging: r8192ee: Fix build errors when PCI is not
 available
To: [email-masked]
Cc: [email-masked],
    [email-masked]

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 <[email-masked]>
Reported-by: Ben Hutchings <[email-masked]>
Signed-off-by: Larry Finger <[email-masked]>
---
 drivers/staging/rtl8192ee/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/staging/rtl8192ee/Kconfig b/drivers/staging/rtl8192ee/Kconfig
index 92c5f44..beb07ac2 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.
-- 
1.8.4.5

_______________________________________________
devel mailing list
[email-masked]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel