Commit d27383a2 authored by Zeyu Fan's avatar Zeyu Fan Committed by Alex Deucher

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

Signed-off-by: default avatarZeyu Fan <Zeyu.Fan@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent beb16b6a
...@@ -605,7 +605,7 @@ static bool is_max_vs_reached( ...@@ -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);
......
...@@ -691,7 +691,7 @@ void dc_link_remove_remote_sink( ...@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment