linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/9] fbdev: Clean up include dependencies in header
@ 2024-02-19  9:37 Thomas Zimmermann
  2024-02-19  9:37 ` [PATCH v3 1/9] backlight/corgi-lcd: Include <linux/backlight.h> Thomas Zimmermann
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Thomas Zimmermann @ 2024-02-19  9:37 UTC (permalink / raw)
  To: deller, kherbst, lyude, dakr, jani.nikula, daniel, airlied,
	gregkh
  Cc: linux-fbdev, dri-devel, nouveau, linux-staging, 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 corgi-lcd, nouveau and fbtft, which
need backlight.h in some of their source files.

v3:
	* include backlight.h in corgi-lcd (kernel test robot)
	* grammar fixes in commit messages
v2:
	* include backlight.h in fbtft (kernel test robot)

Thomas Zimmermann (9):
  backlight/corgi-lcd: Include <linux/backlight.h>
  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 ++
 drivers/video/backlight/corgi_lcd.c     |  1 +
 include/linux/fb.h                      | 24 +++++++++++++-----------
 4 files changed, 17 insertions(+), 11 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-02-26 12:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19  9:37 [PATCH v3 0/9] fbdev: Clean up include dependencies in header Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 1/9] backlight/corgi-lcd: Include <linux/backlight.h> Thomas Zimmermann
2024-02-21 10:29   ` Thomas Zimmermann
2024-02-23 10:56     ` Lee Jones
2024-02-26 11:42       ` Jani Nikula
2024-02-26 12:33         ` Lee Jones
2024-02-26 12:48           ` Thomas Zimmermann
2024-02-26 12:52             ` Lee Jones
2024-02-19  9:37 ` [PATCH v3 2/9] drm/nouveau: " Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 3/9] staging/fbtft: " Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 4/9] fbdev: Do not include <linux/backlight.h> in header Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 5/9] fbdev: Do not include <linux/fs.h> " Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 6/9] fbdev: Do not include <linux/notifier.h> " Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 7/9] fbdev: Do not include <linux/slab.h> " Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 8/9] fbdev: Clean up forward declarations in header file Thomas Zimmermann
2024-02-19  9:37 ` [PATCH v3 9/9] fbdev: Clean up include statements " Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).