drm/amd/display: Make dc_link param const in set_drive_settings

Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Zeyu Fan 2017-04-21 10:55:01 -04:00 committed by Alex Deucher
parent beb16b6a0f
commit d27383a2b5
2 changed files with 2 additions and 2 deletions

View File

@ -605,7 +605,7 @@ static bool is_max_vs_reached(
} }
void dc_link_dp_set_drive_settings( void dc_link_dp_set_drive_settings(
struct dc_link *link, const struct dc_link *link,
struct link_training_settings *lt_settings) struct link_training_settings *lt_settings)
{ {
struct core_link *core_link = DC_LINK_TO_CORE(link); struct core_link *core_link = DC_LINK_TO_CORE(link);

View File

@ -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_set_sink(const struct dc_link *link, struct dc_sink *sink);
void dc_link_dp_set_drive_settings( void dc_link_dp_set_drive_settings(
struct dc_link *link, const struct dc_link *link,
struct link_training_settings *lt_settings); struct link_training_settings *lt_settings);
bool dc_link_dp_perform_link_training( bool dc_link_dp_perform_link_training(