Skip to content

Commit 3639fad

Browse files
committed
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: cc3e8a2 ("drm/imx: add internal bridge handling display-timings DT node") Cc: Philipp Zabel <[email protected]> Cc: Dmitry Baryshkov <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Philipp Zabel <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Jani Nikula <[email protected]>
1 parent c3e9144 commit 3639fad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/drm/bridge/imx.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#ifndef DRM_IMX_BRIDGE_H
77
#define DRM_IMX_BRIDGE_H
88

9+
struct device;
10+
struct device_node;
11+
struct drm_bridge;
12+
913
struct drm_bridge *devm_imx_drm_legacy_bridge(struct device *dev,
1014
struct device_node *np,
1115
int type);

0 commit comments

Comments
 (0)