]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
backlight: ktd2801: Include <linux/mod_devicetable.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:48 +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: Nick Chan <towinchenmi@gmail.com>
Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org>
Acked-by: Duje Mihanović <duje.mihanovic@skole.hr>
Link: https://lore.kernel.org/r/20250715122643.137027-12-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/ktd2801-backlight.c

index 0489b0615cebc91e27384fb9dffcefc8cad74297..17eac1b3bce4adfaff0e17ef0ba9817c5ba16658 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/backlight.h>
 #include <linux/gpio/consumer.h>
 #include <linux/leds-expresswire.h>
+#include <linux/mod_devicetable.h>
 #include <linux/platform_device.h>
 #include <linux/property.h>