path: root/drivers/gpu/drm/msm/dsi/dsi_manager.c
diff options
authorLaurent Pinchart <>2016-11-28 21:03:49 +0200
committerArchit Taneja <>2016-12-18 16:29:30 +0530
commit2407d1dc04789bfb2f39d248644981d2233feb0e (patch)
tree85c7c0d763480c89bb2bc08fb087964f8552ab2c /drivers/gpu/drm/msm/dsi/dsi_manager.c
parent9338203c4f03ffe323b67f0b2fa17b9811fa9bb6 (diff)
drm: Fix compilation warning caused by static inline forward declaration
The drm_crtc_mask() function used in <drm/drm_encoder.h> is a static inline defined in <drm/drm_crtc.h>. If the first header is included in a compilation unit without the second one, the following compilation warning will be issued. In file included from <linux>/drivers/gpu/drm/drm_bridge.c:29:0: <linux>/include/drm/drm_encoder.h:192:95: warning: ‘drm_crtc_mask’ used but never defined static inline uint32_t drm_crtc_mask(const struct drm_crtc *crtc); Fix this by including the header defining the function instead of using a forward declaration. Signed-off-by: Laurent Pinchart <> Reviewed-by: Daniel Vetter <> Signed-off-by: Archit Taneja <> Link:
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_manager.c')
0 files changed, 0 insertions, 0 deletions