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 <[email protected]> Reviewed-by: Nick Chan <[email protected]> Reviewed-by: "Daniel Thompson (RISCstar)" <[email protected]> Acked-by: Duje Mihanović <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
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)