]> git.dujemihanovic.xyz Git - linux.git/commitdiff
video: logo: LOGO should depend on FB_CORE i.s.o. FB
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 28 Jul 2023 09:21:11 +0000 (11:21 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Fri, 28 Jul 2023 09:48:30 +0000 (11:48 +0200)
If CONFIG_FB_CORE=y and CONFIG_FB=n, the frame buffer bootup logos can
no longer be enabled.  Fix this by making CONFIG_LOGO depend on
CONFIG_FB_CORE instead of CONFIG_FB, as there is no good reason for the
logo code to depend on the presence of real frame buffer device drivers.

Fixes: 55bffc8170bb ("fbdev: Split frame buffer support in FB and FB_CORE symbols")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e4142b7cc9aad9975de1bc6b1c7d86ccee487e4c.1690535997.git.geert+renesas@glider.be
drivers/video/Kconfig
drivers/video/logo/Kconfig

index e5b1cc54cafa10d588ef77c09e73fd9e1430cec4..b694d7669d3200b148c5575a468f9464192114c0 100644 (file)
@@ -63,7 +63,7 @@ if VT
        source "drivers/video/console/Kconfig"
 endif
 
-if FB || SGI_NEWPORT_CONSOLE
+if FB_CORE || SGI_NEWPORT_CONSOLE
        source "drivers/video/logo/Kconfig"
 
 endif
index 6d6f8c08792dc8977cba65817b30d961034d6a68..b7d94d1dd1585a8418b365f5ce0c3339d4a7045e 100644 (file)
@@ -5,7 +5,7 @@
 
 menuconfig LOGO
        bool "Bootup logo"
-       depends on FB || SGI_NEWPORT_CONSOLE
+       depends on FB_CORE || SGI_NEWPORT_CONSOLE
        help
          Enable and select frame buffer bootup logos.