staging: hv: hv_utils depends on CONNECTOR
authorRandy Dunlap <[email protected]>
Fri, 21 Jan 2011 17:18:56 +0000 (09:18 -0800)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Hank Janssen <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
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.