Skip to content

Commit 246da2b

Browse files
tdzlag-linaro
authored andcommitted
backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h>
Include <linux/of.h> to declare struct device_node and include <linux/mod_devicetable.h> to declare struct of_device_id. 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-14-tzimmermann@suse.de Signed-off-by: Lee Jones <lee@kernel.org>
1 parent b38ed7c commit 246da2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/video/backlight/rave-sp-backlight.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99

1010
#include <linux/backlight.h>
1111
#include <linux/kernel.h>
12+
#include <linux/mod_devicetable.h>
1213
#include <linux/module.h>
1314
#include <linux/mfd/rave-sp.h>
15+
#include <linux/of.h>
1416
#include <linux/platform_device.h>
1517

1618
#define RAVE_SP_BACKLIGHT_LCD_EN BIT(7)

0 commit comments

Comments
 (0)