]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: panel-orisetech-otm8009a: Include <linux/mod_devicetable.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 11 Oct 2024 14:41:21 +0000 (16:41 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 13 Dec 2024 14:21:02 +0000 (15:21 +0100)
Include <linux/mod_devicetable.h> directly to get struct of_device_id.
Avoids the proxy include via <linux/backlight.h>

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241011144632.90434-4-tzimmermann@suse.de
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c

index a9b5dad70bc15b2182df531c040187074d0efd3d..87bbb25d119a38a0d92bf3eece5c00b4ab38f4a7 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/backlight.h>
 #include <linux/delay.h>
 #include <linux/gpio/consumer.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/regulator/consumer.h>