Skip to content

Commit ba3b29a

Browse files
tdzlag-linaro
authored andcommitted
backlight: rt4831: Include <linux/mod_devicetable.h>
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-15-tzimmermann@suse.de Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 246da2b commit ba3b29a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/backlight/rt4831-backlight.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <linux/backlight.h>
55
#include <linux/bitops.h>
66
#include <linux/kernel.h>
7+
#include <linux/mod_devicetable.h>
78
#include <linux/module.h>
89
#include <linux/platform_device.h>
910
#include <linux/property.h>

0 commit comments

Comments
 (0)