Skip to content

arch/powerpc: Resolve backlight include dependencies

Thomas Zimmermann dri-devel linux-fbdev linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 5 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

* add Fixes tag and fix typos in patch 3

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fbdev/chipsfb: Include <linux/backlight.h>drivers/video/fbdev/chipsfb.c+1 -00 replies
2/3macintosh/via-pmu-backlight: Include <linux/backlight.h>drivers/macintosh/via-pmu-backlight.c+1 -00 replies
3/3arch/powerpc: Remove <linux/fb.h> from backlight codearch/powerpc/include/asm/backlight.h arch/powerpc/platforms/powermac/backlight.c+2 -291 reply

Reviews trailers per patch

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

PatchJani NikulaMichael Ellerman
1/3R-b
2/3R-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies

After cleaning up <linux/fb.h> in commit 11b4eedfc87d ("fbdev: Do not include <linux/backlight.h> in header"), building with CONFIG_PMAC_BACKLIGHT=y returns errors about missing declarations. Patches 1 and 2 resolve the errors. Patch 1 has been reviewed at [1]. Patch 3 removes another dependency between backlight and fbdev code.

Compile tested with ppc6xx_defconfig.

v3:
* add Fixes tag and fix typos in patch 3
v2:
* via-pmu-backlight: fix build errors
* powerpc: resolve dependency between fbdev and backlight

[1] https://patchwork.freedesktop.org/series/130661/

Thomas Zimmermann (3):
fbdev/chipsfb: Include <linux/backlight.h> macintosh/via-pmu-backlight: Include <linux/backlight.h> arch/powerpc: Remove <linux/fb.h> from backlight code

 arch/powerpc/include/asm/backlight.h        |  5 ++--
 arch/powerpc/platforms/powermac/backlight.c | 26 ---------------------
 drivers/macintosh/via-pmu-backlight.c       |  1 +
 drivers/video/fbdev/chipsfb.c               |  1 +
 4 files changed, 4 insertions(+), 29 deletions(-)
Signature · 1 line
2.44.0