arch/powerpc: Add missing includes
Subsystems (2)
cover arch/powerpc: Add missing includes
From: Thierry Reding <[email protected]>
Hi,
I've recently been doing a few test builds for some of the more exotic platforms out there for a patch series that I'm working on and ran into some issues that seem to have been caused by the framebuffer include rework. I see that Thomas did address some of those already, but it looks like I've been running with slightly different configurations or something that caused these additional ones to come up.
Given that theese seem to have been broken for more than a year and it's not exactly clear which commit it caused, I didn't bother adding a Fixes line, but still wanted to send these out in case we want to keep these platforms building.
Thierry
Thierry Reding (2):
arch/powerpc: Add missing linux/of.h include macintosh/via-pmu-backlight: Include uapi/linux/fb.h
arch/powerpc/platforms/powermac/backlight.c | 1 + drivers/macintosh/via-pmu-backlight.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.51.0
PATCH 1/2 arch/powerpc: Add missing linux/of.h include
From: Thierry Reding <[email protected]>
Add the linux/of.h include to make available the standard device tree functions used by this file.
--- arch/powerpc/platforms/powermac/backlight.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/platforms/powermac/backlight.c +1 -0
@@ -14,6 +14,7 @@#include <linux/pmu.h> #include <linux/atomic.h> #include <linux/export.h> +#include <linux/of.h> #include <asm/backlight.h> #define OLD_BACKLIGHT_MAX 15
Signature · 1 line
2.51.0
PATCH 2/2 macintosh/via-pmu-backlight: Include uapi/linux/fb.h
In reply to Thierry RedingFrom: Thierry Reding <[email protected]>
This makes available several of the constants used in this driver.
--- drivers/macintosh/via-pmu-backlight.c | 1 + 1 file changed, 1 insertion(+)
drivers/macintosh/via-pmu-backlight.c +1 -0
@@ -13,6 +13,7 @@#include <linux/backlight.h> #include <linux/pmu.h> #include <asm/backlight.h> +#include <uapi/linux/fb.h> #define MAX_PMU_LEVEL 0xFF
Signature · 1 line
2.51.0
Hi
Am 29.10.25 um 16:09 schrieb Thierry Reding:
Quoted 16 lines
From: Thierry Reding <[email protected]>
Hi,
I've recently been doing a few test builds for some of the more exotic platforms out there for a patch series that I'm working on and ran into some issues that seem to have been caused by the framebuffer include rework. I see that Thomas did address some of those already, but it looks like I've been running with slightly different configurations or something that caused these additional ones to come up.
Given that theese seem to have been broken for more than a year and it's not exactly clear which commit it caused, I didn't bother adding a Fixes line, but still wanted to send these out in case we want to keep these platforms building.
Quoted 5 lines
Thierry
Thierry Reding (2):
arch/powerpc: Add missinglinux/of.hinclude macintosh/via-pmu-backlight: Includeuapi/linux/fb.h
See https://lore.kernel.org/dri-devel/[email protected]/
Quoted 5 lines
arch/powerpc/platforms/powermac/backlight.c | 1 + drivers/macintosh/via-pmu-backlight.c | 1 + 2 files changed, 2 insertions(+)
Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)