]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4102926ea8629075acb9d6b0ab177a4e2f772c7a
tree6a879dc24c1ee1e60fdac681da380f413fb0b8f1
parentf597840ef8d20c35b2347cf236a29daad3b7b730
console/dummycon: Remove bogus depends on from DUMMY_CONSOLE

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