]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
fbcon: Only allow FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER if fbdev is builtin
authorHans de Goede <hdegoede@redhat.com>
Fri, 10 Aug 2018 15:23:01 +0000 (17:23 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 10 Aug 2018 15:23:01 +0000 (17:23 +0200)
Having FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER with fbdev+fbcon being build
as a module does not make much sense.

Having FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER only when fbdev+fbcon are
builtin was always the intention, hence the =y checks but they were
checking the wrong option, fbcon is build as part of fb.ko, so we must
check for FB=y.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/console/Kconfig

index e91edef98633e9d624ca50f171c13d0978510eca..787792c3d08d66b93012c27deed878e820c06e12 100644 (file)
@@ -152,7 +152,7 @@ config FRAMEBUFFER_CONSOLE_ROTATION
 
 config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
        bool "Framebuffer Console Deferred Takeover"
-       depends on FRAMEBUFFER_CONSOLE=y && DUMMY_CONSOLE=y
+       depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
        help
          If enabled this defers the framebuffer console taking over the
          console from the dummy console until the first text is displayed on