diff options
author | Ritesh Kumar <quic_riteshk@quicinc.com> | 2024-01-16 08:18:03 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-01-19 09:34:57 +0100 |
commit | 2095d5071d60fd6835f14f29621c6f234a1c0293 (patch) | |
tree | cae6c959baf584389a149468f768ea075c070d7f /Documentation/gpu | |
parent | drm: panel-orientation-quirks: Add quirk for GPD Win Mini (diff) | |
download | linux-2095d5071d60fd6835f14f29621c6f234a1c0293.tar.xz linux-2095d5071d60fd6835f14f29621c6f234a1c0293.zip |
drm/panel: novatek-nt36672e: Include <linux/of.h>
Include <linux/of.h> instead of <linux/of_device.h> 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 <quic_riteshk@quicinc.com>
Fixes: ea4f9975625a ("drm/panel: Add support for Novatek NT36672E panel driver")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240116071803.5264-1-quic_riteshk@quicinc.com
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions