summaryrefslogtreecommitdiff
path: root/drivers/virtio/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/Kconfig')
-rw-r--r--drivers/virtio/Kconfig12
1 files changed, 7 insertions, 5 deletions
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