From patchwork Sun May 31 09:07:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 246882 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Sun, 31 May 2020 11:07:52 +0200 Subject: [PATCH 1/1] virtio: VIRTIO_RNG depends on DM_RNG Message-ID: <20200531090752.449779-1-xypron.glpk@gmx.de> Add the missing Kconfig dependency and let VIRTIO_RNG default to yes. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- drivers/virtio/Kconfig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) -- 2.26.2 diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 2e3dd3bad0..e800720657 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -60,9 +60,11 @@ config VIRTIO_BLK QEMU based targets. config VIRTIO_RNG - bool "virtio rng driver" - depends on VIRTIO - help - This is the virtual random number generator driver. It can be used - with Qemu based targets. + bool "virtio rng driver" + depends on DM_RNG + depends on VIRTIO + default y + help + This is the virtual random number generator driver. It can be used + with QEMU based targets. endmenu