Skip to content

Commit b38ed7c

Browse files
tdzlag-linaro
authored andcommitted
backlight: led_bl: Include <linux/of.h>
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>
1 parent 5f60004 commit b38ed7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/backlight/led_bl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <linux/backlight.h>
1010
#include <linux/leds.h>
1111
#include <linux/module.h>
12+
#include <linux/of.h>
1213
#include <linux/platform_device.h>
1314

1415
struct led_bl_data {

0 commit comments

Comments
 (0)