[PATCH v2 0/8] fbdev: Clean up include dependencies in header
Thomas Zimmermann
tzimmermann at suse.de
Mon Feb 19 09:31:01 UTC 2024
A-b'd by Helge via email
Acked-by: Helge Deller <deller at gmx.de>
Am 13.02.24 um 09:42 schrieb Thomas Zimmermann:
> Remove unnecessary dependencies in the include statements of the
> header file <linux/fb.h>. Several files throughout the kernel include
> the fbdev header, so reducing dependencies positively affects other
> subsystems as well. Also fix up nouveau and fbtft, which need backlight.h
> in some their source files.
>
> v2:
> * include backlight.h in fbtft (kernel test robot)
>
> Thomas Zimmermann (8):
> drm/nouveau: Include <linux/backlight.h>
> staging/fbtft: Include <linux/backlight.h>
> fbdev: Do not include <linux/backlight.h> in header
> fbdev: Do not include <linux/fs.h> in header
> fbdev: Do not include <linux/notifier.h> in header
> fbdev: Do not include <linux/slab.h> in header
> fbdev: Clean up forward declarations in header file
> fbdev: Clean up include statements in header file
>
> drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 +
> drivers/staging/fbtft/fb_ssd1351.c | 2 ++
> include/linux/fb.h | 24 +++++++++++++-----------
> 3 files changed, 16 insertions(+), 11 deletions(-)
>
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
More information about the dri-devel
mailing list