diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-10-09 17:04:52 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-10-09 17:39:49 +0300 |
commit | 3639fadc7e98a5b0aef399d7beef24b028fdf898 (patch) | |
tree | 03054d86a76356aa01ccb9c5d2c46c3ab617a0b0 /include | |
parent | c3e91446a3580353672e965165ab37db2bf6a757 (diff) | |
download | linux-3639fadc7e98a5b0aef399d7beef24b028fdf898.tar.xz |
drm/imx: add forward declarations for types
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/bridge/imx.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |