Browse Source

staging: hv: make HYPERV_UTILS depend on NLS to prevent a build error

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>
pefoley2@verizon.net 14 years ago
parent
commit
7cc82439ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/hv/Kconfig

+ 1 - 1
drivers/staging/hv/Kconfig

@@ -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.