backlight: Include <linux/of.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:43 +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 avoid 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-7-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/backlight.c

index 9dc93c5..1e9b7e8 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/ctype.h>
 #include <linux/err.h>
 #include <linux/slab.h>
+#include <linux/of.h>
 
 #ifdef CONFIG_PMAC_BACKLIGHT
 #include <asm/backlight.h>