backlight: apple_dwi_bl: Include <linux/mod_devicetable.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:44 +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>
Link: https://lore.kernel.org/r/20250715122643.137027-8-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/apple_dwi_bl.c

index 93bd744..ed8bf13 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/bitfield.h>
 #include <linux/device.h>
 #include <linux/io.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>