]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
backlight: led_bl: Include <linux/of.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:49 +0000 (14:24 +0200)
committerLee Jones <lee@kernel.org>
Tue, 16 Sep 2025 16:05:19 +0000 (17:05 +0100)
Include <linux/of.h> to declare struct of_count_phandle_with_args().
Avoids dependency on backlight header to include it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org>
Link: https://lore.kernel.org/r/20250715122643.137027-13-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/led_bl.c

index dd03d91a6e5071c9b811a57a9a5f183152b9e8fb..efc5e380669aea835090c8d457dcdf8d13a3faf8 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/backlight.h>
 #include <linux/leds.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/platform_device.h>
 
 struct led_bl_data {