staging: hv: make HYPERV_UTILS depend on NLS to prevent a build error
authorpefoley2@verizon.net <pefoley2@verizon.net>
Tue, 3 May 2011 21:40:30 +0000 (17:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 22:23:33 +0000 (15:23 -0700)
When HYPERV_UTILS=y and NLS=n the build fails with this error:
MODPOST 3 modules
ERROR: "utf8s_to_utf16s" [drivers/staging/hv/hv_utils.ko] undefined!
This patch fixes this by adding a dependency on NLS to HYPERV_UTILS.

Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Kconfig

index d41f380..76f0756 100644 (file)
@@ -31,7 +31,7 @@ config HYPERV_NET
 
 config HYPERV_UTILS
        tristate "Microsoft Hyper-V Utilities driver"
-       depends on CONNECTOR
+       depends on CONNECTOR && NLS
        default HYPERV
        help
          Select this option to enable the Hyper-V Utilities.