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 <[email protected]> Reviewed-by: "Daniel Thompson (RISCstar)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 5f60004 commit b38ed7c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)