lkml.org 
[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] staging/hv: hv_utils depends on CONNECTOR
From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
drivers/staging/hv/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20110121.orig/drivers/staging/hv/Kconfig
+++ linux-next-20110121/drivers/staging/hv/Kconfig
@@ -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.

\
 
 \ /
  Last update: 2011-01-21 18:23    [W:0.050 / U:0.900 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site