]> git.baikalelectronics.ru Git - kernel.git/commit
staging/fbtft: Fix backlight
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 5 Nov 2021 20:43:58 +0000 (21:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:21:48 +0000 (10:21 +0100)
commita91cda1b813406277c171d800a5b4135a683cb0c
treed0bde4f68891631cc8fad0372a05ef829ccc6805
parent56d25d816ebaec7e95d23e95609472180eac417c
staging/fbtft: Fix backlight

Commit a058d924fe2c ("fbdev: make FB_BACKLIGHT a tristate") forgot to
update fbtft breaking its backlight support when FB_BACKLIGHT is a module.

Since FB_TFT selects FB_BACKLIGHT there's no need for this conditional
so just remove it and we're good.

Fixes: a058d924fe2c ("fbdev: make FB_BACKLIGHT a tristate")
Cc: <stable@vger.kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20211105204358.2991-1-noralf@tronnes.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1351.c
drivers/staging/fbtft/fbtft-core.c