]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
newport_con: depend on LOGO_LINUX_CLUT224 instead of LOGO_SGI_CLUT224
authorVincent Mailhol <mailhol@kernel.org>
Thu, 8 Jan 2026 19:04:52 +0000 (20:04 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 14 Feb 2026 10:09:46 +0000 (11:09 +0100)
newport_show_logo() is only activated if CONFIG_LOGO_SGI_CLUT224 is
set (otherwise it is a NOP). This configuration item will be removed
in an upcoming change so instead, make it depend on LOGO_LINUX_CLUT224.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/console/newport_con.c

index 2424153660746e127de843e0f19cf8ab5da4a5b4..337e04236d6d3eda785bcbb1c409f9e2ecbddb93 100644 (file)
@@ -95,7 +95,7 @@ static inline void newport_init_cmap(void)
 
 static const struct linux_logo *newport_show_logo(void)
 {
-#ifdef CONFIG_LOGO_SGI_CLUT224
+#ifdef CONFIG_LOGO_LINUX_CLUT224
        const struct linux_logo *logo = fb_find_logo(8);
        const unsigned char *clut;
        const unsigned char *data;
@@ -127,7 +127,7 @@ static const struct linux_logo *newport_show_logo(void)
        return logo;
 #else
        return NULL;
-#endif /* CONFIG_LOGO_SGI_CLUT224 */
+#endif /* CONFIG_LOGO_LINUX_CLUT224 */
 }
 
 static inline void newport_clear_screen(int xstart, int ystart, int xend,