Skip to content

Commit 4027c31

Browse files
arndbhdeller
authored andcommitted
dummycon: only build module if there are users
Dummycon is used as a fallback conswitchp for vgacon and fbcon in the VT code, and there are no references to it if all three are disabled, so just leave it out of the kernel image for configurations without those. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 2df2c0c commit 4027c31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/video/console/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ config SGI_NEWPORT_CONSOLE
4747
card of your Indy. Most people say Y here.
4848

4949
config DUMMY_CONSOLE
50-
bool
51-
default y
50+
def_bool VT || VGA_CONSOLE || FRAMEBUFFER_CONSOLE
5251

5352
config DUMMY_CONSOLE_COLUMNS
5453
int "Initial number of console screen columns"

0 commit comments

Comments
 (0)