On Mon, Aug 31, 2020 at 06:58:50PM +0200, Michal Suchanek
wrote:> Make it possible to have virtio console built-in when
> other virtio drivers are modular.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
Reviewed-by: Amit Shah <amit at kernel.org>
> ---
> drivers/char/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
> index 3a144c000a38..9bd9917ca9af 100644
> --- a/drivers/char/Kconfig
> +++ b/drivers/char/Kconfig
> @@ -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.
>
> --
> 2.28.0
>