]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
backlight: rt4831: Include <linux/mod_devicetable.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:51 +0000 (14:24 +0200)
committerLee Jones <lee@kernel.org>
Tue, 16 Sep 2025 16:05:19 +0000 (17:05 +0100)
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>
drivers/video/backlight/rt4831-backlight.c

index 7ead75929a437a822b5dc666b3f67df3cbe6ba28..26214519bfcee1221ffe9f17b016844c3f610407 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/backlight.h>
 #include <linux/bitops.h>
 #include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/property.h>