xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Apr 2017 17:06:39 +0000 (19:06 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:14:36 +0000 (11:14 +0200)
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>
net/9p/Kconfig

index 3f286f1bd1d3779a1c74e3cc74edb6e2c939aa24..e6014e0e51f7a212dd48cdefcb26dffb44b2fba4 100644 (file)
@@ -24,6 +24,7 @@ config NET_9P_VIRTIO
 
 config NET_9P_XEN
        depends on XEN
+       select XEN_XENBUS_FRONTEND
        tristate "9P Xen Transport"
        help
          This builds support for a transport for 9pfs between