Re: [PATCH] Staging: vt665x depend on WIRELESS

From: Randy Dunlap
Date: Fri Dec 18 2009 - 12:46:43 EST


On Fri, 18 Dec 2009 20:23:08 +0300 Alexander Beregalov wrote:

> Fix build error when NET or/and WIRELESS are not enabled.
>
> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
> ---
> drivers/staging/vt6655/Kconfig | 2 +-
> drivers/staging/vt6656/Kconfig | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/vt6655/Kconfig b/drivers/staging/vt6655/Kconfig
> index 825bbc4..6a186be 100644
> --- a/drivers/staging/vt6655/Kconfig
> +++ b/drivers/staging/vt6655/Kconfig
> @@ -1,6 +1,6 @@
> config VT6655
> tristate "VIA Technologies VT6655 support"
> - depends on PCI
> + depends on PCI && WIRELESS
> select WIRELESS_EXT
> select WEXT_PRIV
> ---help---
> diff --git a/drivers/staging/vt6656/Kconfig b/drivers/staging/vt6656/Kconfig
> index 87bcd26..6fceae4 100644
> --- a/drivers/staging/vt6656/Kconfig
> +++ b/drivers/staging/vt6656/Kconfig
> @@ -1,6 +1,6 @@
> config VT6656
> tristate "VIA Technologies VT6656 support"
> - depends on USB
> + depends on USB && WIRELESS
> select WIRELESS_EXT
> select WEXT_PRIV
> ---help---
> --

depends on WLAN

would be better, and the patch has already been submitted to Greg...
I don't know where it is in his "system" though.


---
~Randy
--
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/