From: Zeyu Fan Date: Fri, 21 Apr 2017 14:55:01 +0000 (-0400) Subject: drm/amd/display: Make dc_link param const in set_drive_settings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d27383a2b5719be60ac86deae30e89755f868a07;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Make dc_link param const in set_drive_settings Signed-off-by: Zeyu Fan Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 953e201dc6bc..17286465e850 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -605,7 +605,7 @@ static bool is_max_vs_reached( } void dc_link_dp_set_drive_settings( - struct dc_link *link, + const struct dc_link *link, struct link_training_settings *lt_settings) { struct core_link *core_link = DC_LINK_TO_CORE(link); diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 5629e3ca6336..a2a9e4ed393c 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -691,7 +691,7 @@ void dc_link_remove_remote_sink( void dc_link_set_sink(const struct dc_link *link, struct dc_sink *sink); void dc_link_dp_set_drive_settings( - struct dc_link *link, + const struct dc_link *link, struct link_training_settings *lt_settings); bool dc_link_dp_perform_link_training(