2009-12-18 17:22:18

by Alexander Beregalov

[permalink] [raw]
Subject: [PATCH] Staging: vt665x depend on WIRELESS

Fix build error when NET or/and WIRELESS are not enabled.

Signed-off-by: Alexander Beregalov <[email protected]>
---
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---
--
1.6.6.rc3


2009-12-18 17:46:40

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] Staging: vt665x depend on WIRELESS

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 <[email protected]>
> ---
> 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

2009-12-18 19:35:43

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] Staging: vt665x depend on WIRELESS

On Fri, Dec 18, 2009 at 09:45:52AM -0800, Randy Dunlap wrote:
> 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 <[email protected]>
> > ---
> > 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.

It just got applied :)

thanks,

greg k-h