diff mbox series

[v2,2/8] staging/fbtft: Include <linux/backlight.h>

Message ID 20240213084403.20995-3-tzimmermann@suse.de (mailing list archive)
State Awaiting Upstream
Headers show
Series fbdev: Clean up include dependencies in header | expand

Commit Message

Thomas Zimmermann Feb. 13, 2024, 8:42 a.m. UTC
Resolved the proxy include via <linux/fb.h>, which does not require the
backlight header.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/staging/fbtft/fb_ssd1351.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Zimmermann Feb. 14, 2024, 4:29 p.m. UTC | #1
Am 13.02.24 um 09:42 schrieb Thomas Zimmermann:
> Resolved the proxy include via <linux/fb.h>, which does not require the
> backlight header.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>

Acked by Jani via IRC

Acked-by: Jani Nikula<jani.nikula@intel.com>



> ---
>   drivers/staging/fbtft/fb_ssd1351.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c
> index b8d55aa8c5c75..72172e870007e 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>
Greg Kroah-Hartman Feb. 17, 2024, 4:24 p.m. UTC | #2
On Tue, Feb 13, 2024 at 09:42:20AM +0100, Thomas Zimmermann wrote:
> Resolved the proxy include via <linux/fb.h>, which does not require the
> backlight header.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff mbox series

Patch

diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c
index b8d55aa8c5c75..72172e870007e 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>