[PATCH 1/2] arch/powerpc: Add missing linux/of.h include
Thierry Reding
thierry.reding at gmail.com
Thu Oct 30 02:09:39 AEDT 2025
From: Thierry Reding <treding at nvidia.com>
Add the linux/of.h include to make available the standard device tree
functions used by this file.
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
arch/powerpc/platforms/powermac/backlight.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/powermac/backlight.c b/arch/powerpc/platforms/powermac/backlight.c
index 79741370c40c..9afb64723649 100644
--- a/arch/powerpc/platforms/powermac/backlight.c
+++ b/arch/powerpc/platforms/powermac/backlight.c
@@ -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
--
2.51.0
More information about the Linuxppc-dev
mailing list