Commit dd80ad9b authored by YueHaibing's avatar YueHaibing Committed by Alex Deucher

drm/amd/display: Make dc_link_detect_helper static

Fix sparse warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:746:6:
 warning: symbol 'dc_link_detect_helper' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a825a212
...@@ -743,7 +743,8 @@ static bool wait_for_alt_mode(struct dc_link *link) ...@@ -743,7 +743,8 @@ static bool wait_for_alt_mode(struct dc_link *link)
* This does not create remote sinks but will trigger DM * This does not create remote sinks but will trigger DM
* to start MST detection if a branch is detected. * to start MST detection if a branch is detected.
*/ */
bool dc_link_detect_helper(struct dc_link *link, enum dc_detect_reason reason) static bool dc_link_detect_helper(struct dc_link *link,
enum dc_detect_reason reason)
{ {
struct dc_sink_init_data sink_init_data = { 0 }; struct dc_sink_init_data sink_init_data = { 0 };
struct display_sink_capability sink_caps = { 0 }; struct display_sink_capability sink_caps = { 0 };
......
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