Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

backlight: Include <linux/of.h>

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>

authored by

Thomas Zimmermann and committed by
Lee Jones
b12224c2 07c7efda

+1
+1
drivers/video/backlight/backlight.c
··· 16 16 #include <linux/ctype.h> 17 17 #include <linux/err.h> 18 18 #include <linux/slab.h> 19 + #include <linux/of.h> 19 20 20 21 #ifdef CONFIG_PMAC_BACKLIGHT 21 22 #include <asm/backlight.h>