linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/imx: add forward declarations for types
@ 2024-10-09 14:04 Jani Nikula
  2024-10-09 14:22 ` Philipp Zabel
  0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2024-10-09 14:04 UTC (permalink / raw)
  To: dri-devel
  Cc: jani.nikula, Philipp Zabel, Dmitry Baryshkov, imx,
	linux-arm-kernel

The imx.h header does not forward declare the types it uses, and the
header is not self-contained. Fix it.

Fixes: cc3e8a216d6b ("drm/imx: add internal bridge handling display-timings DT node")
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: imx@lists.linux.dev
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 include/drm/bridge/imx.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/drm/bridge/imx.h b/include/drm/bridge/imx.h
index e14f429a9ca2..b93f719fe0e7 100644
--- a/include/drm/bridge/imx.h
+++ b/include/drm/bridge/imx.h
@@ -6,6 +6,10 @@
 #ifndef DRM_IMX_BRIDGE_H
 #define DRM_IMX_BRIDGE_H
 
+struct device;
+struct device_node;
+struct drm_bridge;
+
 struct drm_bridge *devm_imx_drm_legacy_bridge(struct device *dev,
 					      struct device_node *np,
 					      int type);
-- 
2.39.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/imx: add forward declarations for types
  2024-10-09 14:04 [PATCH] drm/imx: add forward declarations for types Jani Nikula
@ 2024-10-09 14:22 ` Philipp Zabel
  2024-10-09 15:30   ` Jani Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2024-10-09 14:22 UTC (permalink / raw)
  To: Jani Nikula, dri-devel; +Cc: Dmitry Baryshkov, imx, linux-arm-kernel

On Mi, 2024-10-09 at 17:04 +0300, Jani Nikula wrote:
> The imx.h header does not forward declare the types it uses, and the
> header is not self-contained. Fix it.
> 
> Fixes: cc3e8a216d6b ("drm/imx: add internal bridge handling display-timings DT node")
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: imx@lists.linux.dev
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

Thank you,

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/imx: add forward declarations for types
  2024-10-09 14:22 ` Philipp Zabel
@ 2024-10-09 15:30   ` Jani Nikula
  0 siblings, 0 replies; 3+ messages in thread
From: Jani Nikula @ 2024-10-09 15:30 UTC (permalink / raw)
  To: Philipp Zabel, dri-devel; +Cc: Dmitry Baryshkov, imx, linux-arm-kernel

On Wed, 09 Oct 2024, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> On Mi, 2024-10-09 at 17:04 +0300, Jani Nikula wrote:
>> The imx.h header does not forward declare the types it uses, and the
>> header is not self-contained. Fix it.
>> 
>> Fixes: cc3e8a216d6b ("drm/imx: add internal bridge handling display-timings DT node")
>> Cc: Philipp Zabel <p.zabel@pengutronix.de>
>> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> Cc: imx@lists.linux.dev
>> Cc: linux-arm-kernel@lists.infradead.org
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Thank you,
>
> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>

Thanks, pushed to drm-misc-next.

>
> regards
> Philipp

-- 
Jani Nikula, Intel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-09 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 14:04 [PATCH] drm/imx: add forward declarations for types Jani Nikula
2024-10-09 14:22 ` Philipp Zabel
2024-10-09 15:30   ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).