From: Ritesh Kumar Date: Tue, 16 Jan 2024 07:18:03 +0000 (+0530) Subject: drm/panel: novatek-nt36672e: Include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2095d5071d60fd6835f14f29621c6f234a1c0293;p=linux.git drm/panel: novatek-nt36672e: Include Include instead of to fix below compilation errors: drivers/gpu/drm/panel/panel-novatek-nt36672e.c:564:14: error: implicit declaration of function 'of_device_get_match_data' ctx->desc = of_device_get_match_data(dev); ^ drivers/gpu/drm/panel/panel-novatek-nt36672e.c:622:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id nt36672e_of_match[] = { ^ Signed-off-by: Ritesh Kumar Fixes: ea4f9975625a ("drm/panel: Add support for Novatek NT36672E panel driver") Reviewed-by: Neil Armstrong Signed-off-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/20240116071803.5264-1-quic_riteshk@quicinc.com --- diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c index d4e85c2fc8999..cb7406d744669 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include