From: Harry Wentland Date: Fri, 24 Feb 2017 16:21:11 +0000 (-0500) Subject: drm/amd/display: Fix warnings in amdgpu_dm X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d70570f712e2db49396eaef61790bac2a08ec1c;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Fix warnings in amdgpu_dm Signed-off-by: Harry Wentland Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c index dc0d8533521f..862bbd745bb9 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c @@ -962,7 +962,7 @@ static void decide_crtc_timing_for_drm_display_mode( } static struct dc_stream *create_stream_for_sink( - const struct amdgpu_connector *aconnector, + struct amdgpu_connector *aconnector, const struct drm_display_mode *drm_mode, const struct dm_connector_state *dm_state) {