virtio: Fix VirtIO BLK driver dependency
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:47 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
The VirtIO BLK driver depends on the blk uclass driver.
Add the dependency in the Kconfig.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/virtio/Kconfig

index e800720..1835607 100644 (file)
@@ -55,6 +55,7 @@ config VIRTIO_NET
 config VIRTIO_BLK
        bool "virtio block driver"
        depends on VIRTIO
+       depends on BLK
        help
          This is the virtual block driver for virtio. It can be used with
          QEMU based targets.