]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dummycon: only build module if there are users
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Feb 2025 16:44:21 +0000 (17:44 +0100)
committerHelge Deller <deller@gmx.de>
Wed, 26 Mar 2025 21:39:20 +0000 (22:39 +0100)
commit4027c31db1baaa674e08e972e90d99453a1a66ad
tree7d926c259e346d8708bb2c8cab1edf6c7f46eceb
parent2df2c0caaecfd869b49e14f2b8df822397c5dd7f
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>
drivers/video/console/Kconfig