[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaNU-qD0+4CROGJHRb0KDPqrTGe5QpM_r1ztR04EpTENA@mail.gmail.com>
Date: Fri, 19 Jan 2024 09:37:43 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Ritesh Kumar <quic_riteshk@...cinc.com>
Cc: neil.armstrong@...aro.org, quic_jesszhan@...cinc.com, sam@...nborg.org,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org, tzimmermann@...e.de,
airlied@...il.com, daniel@...ll.ch, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, quic_abhinavk@...cinc.com,
quic_rajeevny@...cinc.com, quic_vproddut@...cinc.com,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/panel: novatek-nt36672e: Include <linux/of.h>
On Tue, Jan 16, 2024 at 8:19 AM Ritesh Kumar <quic_riteshk@...cinc.com> wrote:
> 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@...cinc.com>
Patch applied to drm-misc-next on top of the commit that need fixing.
Yours,
Linus Walleij
Powered by blists - more mailing lists