char: virtio: Select VIRTIO from VIRTIO_CONSOLE.
authorMichal Suchanek <msuchanek@suse.de>
Mon, 31 Aug 2020 16:58:50 +0000 (18:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Sep 2020 12:32:40 +0000 (14:32 +0200)
Make it possible to have virtio console built-in when
other virtio drivers are modular.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Amit Shah <amit@kernel.org>
Link: https://lore.kernel.org/r/20200831165850.26163-1-msuchanek@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/Kconfig

index b1bd336..d229a2d 100644 (file)
@@ -93,8 +93,9 @@ config PPDEV
 
 config VIRTIO_CONSOLE
        tristate "Virtio console"
-       depends on VIRTIO && TTY
+       depends on TTY
        select HVC_DRIVER
+       select VIRTIO
        help
          Virtio console for use with hypervisors.