Skip to content

Commit 5f60004

Browse files
tdzlag-linaro
authored andcommitted
backlight: ktd2801: 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: 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>
1 parent ce4bb1a commit 5f60004

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/video/backlight/ktd2801-backlight.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <linux/backlight.h>
77
#include <linux/gpio/consumer.h>
88
#include <linux/leds-expresswire.h>
9+
#include <linux/mod_devicetable.h>
910
#include <linux/platform_device.h>
1011
#include <linux/property.h>
1112

0 commit comments

Comments
 (0)