Skip to content

fbdev: Clean up include dependencies in header

Thomas Zimmermann dri-devel linux-fbdev linux-staging nouveau 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 6 repliesIn review
  2. v28 patches 3 repliesSuperseded
  3. v17 patches 1 replySuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9backlight/corgi-lcd: Include <linux/backlight.h>drivers/video/backlight/corgi_lcd.c+1 -06 replies
2/9drm/nouveau: Include <linux/backlight.h>drivers/gpu/drm/nouveau/dispnv50/disp.c+1 -00 replies
3/9staging/fbtft: Include <linux/backlight.h>drivers/staging/fbtft/fb_ssd1351.c+2 -00 replies
4/9fbdev: Do not include <linux/backlight.h> in headerinclude/linux/fb.h+1 -10 replies
5/9fbdev: Do not include <linux/fs.h> in headerinclude/linux/fb.h+1 -10 replies
6/9fbdev: Do not include <linux/notifier.h> in headerinclude/linux/fb.h+1 -10 replies
7/9fbdev: Do not include <linux/slab.h> in headerinclude/linux/fb.h+1 -10 replies
8/9fbdev: Clean up forward declarations in header fileinclude/linux/fb.h+5 -30 replies
9/9fbdev: Clean up include statements in header fileinclude/linux/fb.h+4 -40 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchJani NikulaHelge DellerGreg Kroah-HartmanLee Jones
1/9A-b
2/9R-b A-b
3/9A-b A-b A-b
4/9R-b A-b
5/9R-b A-b
6/9R-b A-b
7/9R-b A-b
8/9R-b A-b
9/9R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] fbdev: Clean up include dependencies in header

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(-)
Signature · 1 line
2.43.0