[PATCHv3 vringh] caif_virtio: Introduce caif over virtio

Rusty Russell
Mon, 18 Mar 2013 03:46:17 -0000

Erwan Yvin <erwan.yvin at stericsson.com> writes:
> From: Erwan Yvin <erwan.yvin at stericsson.com>
>
> Add the CAIF Virtio shared memory driver for talking
> to a modem.

I've added a minor build fix:

caif_virtio: fix compilation

ERROR: "gen_pool_add_virt" [drivers/net/caif/caif_virtio.ko]
undefined!
ERROR: "gen_pool_create" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_destroy" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_free" [drivers/net/caif/caif_virtio.ko] undefined!
ERROR: "gen_pool_alloc" [drivers/net/caif/caif_virtio.ko] undefined!

Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>

diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig
index 676cfff..893f915 100644
--- a/drivers/net/caif/Kconfig
+++ b/drivers/net/caif/Kconfig
@@ -53,6 +53,7 @@ config CAIF_VIRTIO
 	depends on CAIF
 	select VHOST_RING
 	select VIRTIO
+	select GENERIC_ALLOCATOR
 	default n
 	---help---
 	The caif driver for CAIF over Virtio.