console/dummycon: Remove bogus depends on from DUMMY_CONSOLE
authorArvind Sankar <nivedita@alum.mit.edu>
Wed, 18 Dec 2019 21:44:43 +0000 (16:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 14:29:15 +0000 (15:29 +0100)
Since commit [1] consolidated console configuration in
drivers/video/console, DUMMY_CONSOLE has always been enabled, since the
dependency is always satisfied.

There is no point in trying to allow it to be configured out, since
(a) it's tiny, and (b) if VT_CONSOLE is enabled, we must have a working
console driver by the time con_init(vt.c) runs, and only dummycon is
guaranteed to work (vgacon may be configured in, but that doesn't mean
we have a VGA device).

So just remove the fake dependency.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit?id=31d2a7d36d6989c714b792ec00358ada24c039e7

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20191218214506.49252-2-nivedita@alum.mit.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/console/Kconfig

index c10e17fb9a9a9fbb690366acab444367e7313084..70c10ea1c38baa6d4f655957f3a6a270fea06e05 100644 (file)
@@ -93,7 +93,6 @@ config SGI_NEWPORT_CONSOLE
 
 config DUMMY_CONSOLE
        bool
-       depends on VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y 
        default y
 
 config DUMMY_CONSOLE_COLUMNS