From: zhengbin Date: Sat, 5 Oct 2019 02:44:32 +0000 (+0800) Subject: drm/amd/display: Make function wait_for_alt_mode static X-Git-Tag: v5.10.7~3692^2~37^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b77095d5e1b5df2e38d15cd7ed180176b3284ba5;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/display: Make function wait_for_alt_mode static Fix sparse warnings: drivers/gpu/drm/amd/display/dc/core/dc_link.c:687:6: warning: symbol 'wait_for_alt_mode' was not declared. Should it be static? Reviewed-by: Harry Wentland Reported-by: Hulk Robot Signed-off-by: zhengbin Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 33d4cc4..152c564 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -685,7 +685,7 @@ static bool is_same_edid(struct dc_edid *old_edid, struct dc_edid *new_edid) return (memcmp(old_edid->raw_edid, new_edid->raw_edid, new_edid->length) == 0); } -bool wait_for_alt_mode(struct dc_link *link) +static bool wait_for_alt_mode(struct dc_link *link) { /**