Re: [PATCH 2/3 v2] staging/rtl8192u: Add select WEXT_PRIV toKconfig to prevent build failure

From: Simon Horman
Date: Fri Jan 08 2010 - 05:18:33 EST


On Fri, Jan 08, 2010 at 09:14:38AM +0100, Peter HÃwe wrote:
> From: Peter Huewe <peterhuewe@xxxxxx>
> Date: Fri, 8 Jan 2010 09:10:13 +0100
>
> 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@xxxxxx>

Acked-by: Simon Horman <horms@xxxxxxxxxxxx>

depends on WIRELESS_EXT should be select WIRELESS_EXT.
Do you want to handle that?

> ---
> This time without whitespace error - sorry about that.
>
> drivers/staging/rtl8192u/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
> index 9913ab8..d7bc35c 100644
> --- a/drivers/staging/rtl8192u/Kconfig
> +++ b/drivers/staging/rtl8192u/Kconfig
> @@ -2,5 +2,6 @@ config RTL8192U
> tristate "RealTek RTL8192U Wireless LAN NIC driver"
> depends on PCI && WLAN && USB
> depends on WIRELESS_EXT
> + select WEXT_PRIV
> default N
> ---help---
> --
> 1.6.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/