[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251027140646.227025-2-tzimmermann@suse.de>
Date: Mon, 27 Oct 2025 15:05:40 +0100
From: Thomas Zimmermann <tzimmermann@...e.de>
To: naresh.kamboju@...aro.org,
maddy@...ux.ibm.com,
mpe@...erman.id.au,
npiggin@...il.com,
christophe.leroy@...roup.eu,
lee@...nel.org,
danielt@...nel.org,
jingoohan1@...il.com
Cc: linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
Thomas Zimmermann <tzimmermann@...e.de>,
Simona Vetter <simona.vetter@...ll.ch>
Subject: [PATCH 1/2] powermac: backlight: Include <linux/of.h>
Include <linux/of.h> to avoid dependency on backlight header to include
it. Declares of_find_node_by_name(), of_property_match_string() and
of_node_put().
Signed-off-by: Thomas Zimmermann <tzimmermann@...e.de>
Fixes: 243ce64b2b37 ("backlight: Do not include <linux/fb.h> in header file")
Reported-by: Naresh Kamboju <naresh.kamboju@...aro.org>
Closes: https://lore.kernel.org/linuxppc-dev/CA+G9fYs8fn5URQx2+s2oNxdUgZkSrdLC0P1tNBW_n-6BaBkK2Q@mail.gmail.com/
Cc: Thomas Zimmermann <tzimmermann@...e.de>
Cc: Daniel Thompson (RISCstar) <danielt@...nel.org>
Cc: Simona Vetter <simona.vetter@...ll.ch>
Cc: Lee Jones <lee@...nel.org>
Cc: Daniel Thompson <danielt@...nel.org>
Cc: Jingoo Han <jingoohan1@...il.com>
Cc: dri-devel@...ts.freedesktop.org
---
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..1796327955c6 100644
--- a/arch/powerpc/platforms/powermac/backlight.c
+++ b/arch/powerpc/platforms/powermac/backlight.c
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/backlight.h>
#include <linux/adb.h>
+#include <linux/of.h>
#include <linux/pmu.h>
#include <linux/atomic.h>
#include <linux/export.h>
--
2.51.1
Powered by blists - more mailing lists