Browse Source

xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND

All Xen frontends need to select this symbol to avoid a link error:

net/built-in.o: In function `p9_trans_xen_init':
:(.text+0x149e9c): undefined reference to `__xenbus_register_frontend'

Fixes: d4b40a02f837 ("xen/9pfs: build 9pfs Xen transport driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Arnd Bergmann 8 years ago
parent
commit
4a80601622
1 changed files with 1 additions and 0 deletions
  1. 1 0
      net/9p/Kconfig

+ 1 - 0
net/9p/Kconfig

@@ -24,6 +24,7 @@ config NET_9P_VIRTIO
 
 
 config NET_9P_XEN
 config NET_9P_XEN
 	depends on XEN
 	depends on XEN
+	select XEN_XENBUS_FRONTEND
 	tristate "9P Xen Transport"
 	tristate "9P Xen Transport"
 	help
 	help
 	  This builds support for a transport for 9pfs between
 	  This builds support for a transport for 9pfs between