[PATCH 1/2] arch/powerpc: Add missing linux/of.h include

From: Thierry Reding

Date: Wed Oct 29 2025 - 11:09:47 EST


From: Thierry Reding <treding@xxxxxxxxxx>

Add the linux/of.h include to make available the standard device tree
functions used by this file.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
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