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 061e730df2d08144d408307e080949b4940081d1..c3ba693a8cad5062b05eee3dc6fe9ed7231aa836 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 a441ba513c401b8329b3fff0f912716287fff944..f89ab205c8e068166fbe3ad4ae66c3f6e1e3e6ec 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