[patch] drivers, vmci: vmware vmci driver depends on CONFIG_NET

From: David Rientjes
Date: Thu Feb 21 2013 - 16:47:10 EST


CONFIG_VMWARE_VMCI requires CONFIG_NET, otherwise there is a link error:

drivers/built-in.o: In function `__qp_memcpy_from_queue.isra.11':
vmci_queue_pair.c:(.text+0x2d4509): undefined reference to `memcpy_toiovec'
drivers/built-in.o: In function `__qp_memcpy_to_queue.isra.12':
vmci_queue_pair.c:(.text+0x2d4709): undefined reference to `memcpy_fromiovec'

Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
---
drivers/misc/vmw_vmci/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/vmw_vmci/Kconfig b/drivers/misc/vmw_vmci/Kconfig
--- a/drivers/misc/vmw_vmci/Kconfig
+++ b/drivers/misc/vmw_vmci/Kconfig
@@ -4,7 +4,7 @@

config VMWARE_VMCI
tristate "VMware VMCI Driver"
- depends on X86 && PCI
+ depends on X86 && PCI && NET
help
This is VMware's Virtual Machine Communication Interface. It enables
high-speed communication between host and guest in a virtual
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/