diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-10-11 17:41:21 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-12-13 17:21:02 +0300 |
commit | 5d09158305406aed983556ed2acdb5526cc113b9 (patch) | |
tree | 70c1e2508bb410a374363717ceb6e31f37ed7dec /drivers/gpu/drm/panel | |
parent | 8b974c5b39b1863b11e4f6911dbc3d03b6cb6d59 (diff) | |
download | linux-5d09158305406aed983556ed2acdb5526cc113b9.tar.xz |
drm/panel: panel-orisetech-otm8009a: Include <linux/mod_devicetable.h>
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
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r-- | drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c index a9b5dad70bc1..87bbb25d119a 100644 --- a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c +++ b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c @@ -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> |