As VIRTIO_NET is the symbol for enabling network devices, make this
depend on NETDEVICES

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
Cc: Bin Meng <bmeng...@gmail.com>
---
 drivers/virtio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 852f6735b602..1de68867d52e 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -56,7 +56,7 @@ config VIRTIO_SANDBOX
 
 config VIRTIO_NET
        bool "virtio net driver"
-       depends on VIRTIO
+       depends on VIRTIO && NETDEVICES
        help
          This is the virtual net driver for virtio. It can be used with
          QEMU based targets.
-- 
2.34.1

Reply via email to