summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@gmail.com>2024-01-08 16:41:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-28 06:03:51 +0300
commit5c49b6a4a4bcf368f85cfe7a0e5ac3a7016f30fd (patch)
treeb63f6608bf2661bf0c4d91d0f951436ebb0d177f /drivers/video
parent9e957a155005b16af057e86c6bcc1197cd70a6af (diff)
downloadlinux-5c49b6a4a4bcf368f85cfe7a0e5ac3a7016f30fd.tar.xz
vt: remove superfluous CONFIG_HW_CONSOLE
The config HW_CONSOLE is always identical to the config VT and is not visible in the kernel's build menuconfig. So, CONFIG_HW_CONSOLE is redundant. Replace all references to CONFIG_HW_CONSOLE with CONFIG_VT and remove CONFIG_HW_CONSOLE. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20240108134102.601-1-lukas.bulwahn@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/tgafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/tgafb.c b/drivers/video/fbdev/tgafb.c
index ca43774f3156..dccfc38cfbd5 100644
--- a/drivers/video/fbdev/tgafb.c
+++ b/drivers/video/fbdev/tgafb.c
@@ -380,7 +380,7 @@ tgafb_set_par(struct fb_info *info)
BT463_LOAD_ADDR(par, 0x0000);
TGA_WRITE_REG(par, BT463_PALETTE << 2, TGA_RAMDAC_SETUP_REG);
-#ifdef CONFIG_HW_CONSOLE
+#ifdef CONFIG_VT
for (i = 0; i < 16; i++) {
int j = color_table[i];