[PATCH] drm/imx: add forward declarations for types
Jani Nikula
jani.nikula at intel.com
Wed Oct 9 14:04:52 UTC 2024
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 at pengutronix.de>
Cc: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
Cc: imx at lists.linux.dev
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Jani Nikula <jani.nikula at 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
More information about the dri-devel
mailing list