diff options
author | Michal Suchanek <msuchanek@suse.de> | 2020-08-31 18:58:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-07 14:32:40 +0200 |
commit | 9f30eb29c514589e16f2999ea070598583d1f6ec (patch) | |
tree | aa594622ff7122f98e002c2f36186eb558ce85bc /drivers/char | |
parent | uacce: Use kobj_to_dev() instead of container_of() (diff) | |
download | linux-9f30eb29c514589e16f2999ea070598583d1f6ec.tar.xz linux-9f30eb29c514589e16f2999ea070598583d1f6ec.zip |
char: virtio: Select VIRTIO from VIRTIO_CONSOLE.
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index b1bd336761b1..d229a2d0c017 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. |