[PATCH 1/3] staging/otus: Add select WEXT_PRIV to Kconfig to prevent build failure

Simon Horman horms at verge.net.au
Fri Jan 8 00:37:48 UTC 2010


On Thu, Jan 07, 2010 at 09:33:20PM +0100, Peter Huewe wrote:
> From: Peter Huewe <peterhuewe at gmx.de>
> Date: Thu, 7 Jan 2010 21:13:55 +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 at gmx.de>
> ---
> Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010
> 
> drivers/staging/otus/Kconfig |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/staging/otus/Kconfig b/drivers/staging/otus/Kconfig
> index f6cc262..409e01c 100644
> --- a/drivers/staging/otus/Kconfig
> +++ b/drivers/staging/otus/Kconfig
> @@ -1,6 +1,8 @@
>  config OTUS
>  	tristate "Atheros OTUS 802.11n USB wireless support"
>  	depends on USB && WLAN && MAC80211
> +    select WIRELESS_EXT
> +    select WEXT_PRIV
>  	default N
>  	---help---
>  	  Enable support for Atheros 802.11n USB hardware:

Indentation seems to be broken here and in the next patch -
4 spaces instead of a tab.




More information about the devel mailing list