Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video: logo: LOGO should depend on FB_CORE i.s.o. FB

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

authored by

Geert Uytterhoeven and committed by
Javier Martinez Canillas
701a9b9d 5c380526

+2 -2
+1 -1
drivers/video/Kconfig
··· 63 63 source "drivers/video/console/Kconfig" 64 64 endif 65 65 66 - if FB || SGI_NEWPORT_CONSOLE 66 + if FB_CORE || SGI_NEWPORT_CONSOLE 67 67 source "drivers/video/logo/Kconfig" 68 68 69 69 endif
+1 -1
drivers/video/logo/Kconfig
··· 5 5 6 6 menuconfig LOGO 7 7 bool "Bootup logo" 8 - depends on FB || SGI_NEWPORT_CONSOLE 8 + depends on FB_CORE || SGI_NEWPORT_CONSOLE 9 9 help 10 10 Enable and select frame buffer bootup logos. 11 11