[PATCH v2 15/15] backlight: Do not include <linux/fb.h> in header file
Simona Vetter
simona.vetter at ffwll.ch
Tue Jul 15 06:22:34 PDT 2025
On Tue, Jul 15, 2025 at 02:24:52PM +0200, Thomas Zimmermann wrote:
> The backlight interfaces don't require anything from <linux/fb.h>, so
> don't include it.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
I like this very much.
Reviewed-by: Simona Vetter <simona.vetter at ffwll.ch>
I guess also my Acked-by for merging the entire pile through the backlight
subsystem, that's probably the easiest path to land this all.
Cheers, Sima
> ---
> include/linux/backlight.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/backlight.h b/include/linux/backlight.h
> index 10e626db7eee..f29a9ef1052e 100644
> --- a/include/linux/backlight.h
> +++ b/include/linux/backlight.h
> @@ -10,7 +10,6 @@
> #define _LINUX_BACKLIGHT_H
>
> #include <linux/device.h>
> -#include <linux/fb.h>
> #include <linux/mutex.h>
> #include <linux/types.h>
>
> --
> 2.50.0
>
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the linux-arm-kernel
mailing list