]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/imx: add forward declarations for types
authorJani Nikula <jani.nikula@intel.com>
Wed, 9 Oct 2024 14:04:52 +0000 (17:04 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 9 Oct 2024 14:39:49 +0000 (17:39 +0300)
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
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241009140452.1981175-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
include/drm/bridge/imx.h

index e14f429a9ca2e5aac877415e135502094a7bc71f..b93f719fe0e7efc404443ac59f507cc4ddd7352f 100644 (file)
@@ -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);