OSDN Git Service

drm/amd/display: Make calculate_integer_scaling static
authorYueHaibing <yuehaibing@huawei.com>
Mon, 28 Oct 2019 13:34:36 +0000 (21:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2019 15:19:17 +0000 (11:19 -0400)
commit4ef0b9d0a10eab55d36dc2f3ea316163c4addf8c
tree3283a4a7a56aaa464706b1d63ad22e29d55240b6
parent11436b01775fe9f07967756f52d5536bab45bcad
drm/amd/display: Make calculate_integer_scaling static

Fix sparse warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:963:6:
 warning: symbol 'calculate_integer_scaling' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c