staging: hv: hv_utils depends on CONNECTOR
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 21 Jan 2011 17:18:56 +0000 (09:18 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 Jan 2011 20:09:02 +0000 (12:09 -0800)
Don't build hv_utils when CONFIG_CONNECTOR is not enabled.
Fixes these build errors:

ERROR: "cn_add_callback" [drivers/staging/hv/hv_utils.ko] undefined!
ERROR: "cn_del_callback" [drivers/staging/hv/hv_utils.ko] undefined!
ERROR: "cn_netlink_send" [drivers/staging/hv/hv_utils.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Kconfig

index 7455c804962ae181cb0910a8608112e823e49250..2780312cc30de17c46e9dbb6028ba0a4d0de66fe 100644 (file)
@@ -31,6 +31,7 @@ config HYPERV_NET
 
 config HYPERV_UTILS
        tristate "Microsoft Hyper-V Utilities driver"
+       depends on CONNECTOR
        default HYPERV
        help
          Select this option to enable the Hyper-V Utilities.