Staging: rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, March 7, 2010 - 6:01 pm

Gitweb:     http://git.kernel.org/linus/733acf902fbafb6571fce45ee77b1516aaae1bc6
Commit:     733acf902fbafb6571fce45ee77b1516aaae1bc6
Parent:     95702ef05b9b6554c2669bdb9a6121af9f034171
Author:     Peter Huewe <peterhuewe@gmx.de>
AuthorDate: Fri Jan 8 09:10:13 2010 +0100
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Wed Mar 3 16:42:41 2010 -0800

    Staging: rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure
    
    Without WEXT_PRIV set the driver fails to build due to unknown fields in
    the iw_handler_def struct.
    Those fields are enclosed in WEXT_PRIV conditionals in the prototype
    of iw_handler_def in include/net/iw_handler.h
    
    Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
    Acked-by: Simon Horman <horms@verge.net.au>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/rtl8192u/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
index 9913ab8..0439c90 100644
--- a/drivers/staging/rtl8192u/Kconfig
+++ b/drivers/staging/rtl8192u/Kconfig
@@ -1,6 +1,7 @@
 config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
-	depends on WIRELESS_EXT
+	select WIRELESS_EXT
+	select WEXT_PRIV
 	default N
 	---help---
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: rtl8192u: Add select WEXT_PRIV to Kconfig to prev ..., Linux Kernel Mailing ..., (Sun Mar 7, 6:01 pm)