[PATCH v2 05/20] serial: virtio-console: depend on, but don't select VIRTIO

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Mar 16 08:04:50 GMT 2021


VIRTIO has multiple backends, each with is its own dependencies.
It's thus wrong to select it from drivers. Fix this.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 09434c1ba86c..db924efa02a6 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -158,7 +158,7 @@ config DRIVER_SERIAL_LPUART
 
 config VIRTIO_CONSOLE
 	tristate "Virtio console"
-	select VIRTIO
+	depends on VIRTIO
 	help
 	  Virtio console for use with hypervisors.
 
-- 
2.29.2




More information about the barebox mailing list