linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies
@ 2024-03-06 12:28 Thomas Zimmermann
  2024-03-06 12:28 ` [PATCH v3 1/3] fbdev/chipsfb: Include <linux/backlight.h> Thomas Zimmermann
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Zimmermann @ 2024-03-06 12:28 UTC (permalink / raw)
  To: mpe, jani.nikula, naresh.kamboju, deller, npiggin,
	christophe.leroy, aneesh.kumar, naveen.n.rao
  Cc: dri-devel, linux-fbdev, lkft-triage, linux-kernel, linuxppc-dev,
	Thomas Zimmermann

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

-- 
2.44.0


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

end of thread, other threads:[~2024-03-07 10:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 12:28 [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies Thomas Zimmermann
2024-03-06 12:28 ` [PATCH v3 1/3] fbdev/chipsfb: Include <linux/backlight.h> Thomas Zimmermann
2024-03-06 12:28 ` [PATCH v3 2/3] macintosh/via-pmu-backlight: " Thomas Zimmermann
2024-03-06 12:28 ` [PATCH v3 3/3] arch/powerpc: Remove <linux/fb.h> from backlight code Thomas Zimmermann
2024-03-07 10:33   ` Michael Ellerman
2024-03-07  8:59 ` [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies 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).