linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] fbdev: Clean up include dependencies in header
@ 2024-02-12 10:13 Thomas Zimmermann
  2024-02-12 10:13 ` [PATCH 1/7] drm/nouveau: Include <linux/backlight.h> Thomas Zimmermann
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Thomas Zimmermann @ 2024-02-12 10:13 UTC (permalink / raw)
  To: deller, kherbst, lyude, dakr, daniel, airlied
  Cc: linux-fbdev, dri-devel, nouveau, 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, which needs backlight.h in
one of its source files.

Thomas Zimmermann (7):
  drm/nouveau: 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 +
 include/linux/fb.h                      | 24 +++++++++++++-----------
 2 files changed, 14 insertions(+), 11 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-02-13  5:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-12 10:13 [PATCH 0/7] fbdev: Clean up include dependencies in header Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 1/7] drm/nouveau: Include <linux/backlight.h> Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 2/7] fbdev: Do not include <linux/backlight.h> in header Thomas Zimmermann
2024-02-12 19:25   ` kernel test robot
2024-02-12 19:56   ` kernel test robot
2024-02-13  5:43   ` kernel test robot
2024-02-12 10:13 ` [PATCH 3/7] fbdev: Do not include <linux/fs.h> " Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 4/7] fbdev: Do not include <linux/notifier.h> " Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 5/7] fbdev: Do not include <linux/slab.h> " Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 6/7] fbdev: Clean up forward declarations in header file Thomas Zimmermann
2024-02-12 10:13 ` [PATCH 7/7] fbdev: Clean up include statements " Thomas Zimmermann
2024-02-12 10:24 ` [PATCH 0/7] fbdev: Clean up include dependencies in header Jani Nikula

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).