diff --git a/net/9p/Kconfig b/net/9p/Kconfig index 2d7e596e22c3..63f988f0c9e8 100644 --- a/net/9p/Kconfig +++ b/net/9p/Kconfig @@ -42,7 +42,7 @@ config NET_9P_XEN config NET_9P_USBG bool "9P USB Gadget Transport" - depends on USB_GADGET + depends on USB_GADGET=y || USB_GADGET=NET_9P help This builds support for a transport for 9pfs over usb gadget.