summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-02-19 10:37:28 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2024-02-28 09:59:27 +0100
commit009c95c82e87a66cc494e9c14183892b17d04bfe (patch)
tree69a5a24bb2aec152e2fc71d2da091c0b46dfc7e4
parentdrm/nouveau: Include <linux/backlight.h> (diff)
downloadlinux-009c95c82e87a66cc494e9c14183892b17d04bfe.tar.xz
linux-009c95c82e87a66cc494e9c14183892b17d04bfe.zip
staging/fbtft: Include <linux/backlight.h>
Resolves the proxy include via <linux/fb.h>, which does not require the backlight header. v3: * fix grammar in commit message Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Jani Nikula <jani.nikula@intel.com> Acked-by: Helge Deller <deller@gmx.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240219093941.3684-4-tzimmermann@suse.de
-rw-r--r--drivers/staging/fbtft/fb_ssd1351.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c
index b8d55aa8c5c7..72172e870007 100644
--- a/drivers/staging/fbtft/fb_ssd1351.c
+++ b/drivers/staging/fbtft/fb_ssd1351.c
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+
+#include <linux/backlight.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>