Skip to contentSkip to conversation

drm/imx: add forward declarations for types

PATCH In review Jani Nikula 2 participants 3 messages Oct 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
---
 include/drm/bridge/imx.h | 4 ++++
 1 file changed, 4 insertions(+)
include/drm/bridge/imx.h +4 -0
index e14f429a9ca2..b93f719fe0e7 100644
@@ -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);
Signature · 1 line
2.39.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jani Nikula

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 <[email protected]>
Cc Dmitry Baryshkov <[email protected]>

Thank you,

regards
Philipp

#2 lore raw
Quoted 11 lines · Philipp Zabel
Quoted 9 lines · Jani Nikula

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 <[email protected]>
Cc Dmitry Baryshkov <[email protected]>
Quoted 3 lines

Thank you,

Thanks, pushed to drm-misc-next.

Quoted 3 lines

regards
Philipp

Signature · 1 line
Jani Nikula, Intel