Staging: vt665?: prevent modules from being built into the kernel.
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Mar 2011 15:19:18 +0000 (08:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 04:33:26 +0000 (21:33 -0700)
It causes lots of linking errors when both of these modules are built into the
kernel directly due to their global symbol mess.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6655/Kconfig
drivers/staging/vt6656/Kconfig

index 061e730..c3ba693 100644 (file)
@@ -1,6 +1,6 @@
 config VT6655
    tristate "VIA Technologies VT6655 support"
-   depends on PCI && WLAN
+   depends on PCI && WLAN && m
    select WIRELESS_EXT
    select WEXT_PRIV
    ---help---
index a441ba5..f89ab20 100644 (file)
@@ -1,6 +1,6 @@
 config VT6656
        tristate "VIA Technologies VT6656 support"
-       depends on USB && WLAN
+       depends on USB && WLAN && m
        select WIRELESS_EXT
        select WEXT_PRIV
        select FW_LOADER