]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Constify dcn20_res_pool_funcs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Tue, 4 Aug 2020 20:06:53 +0000 (22:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:29 +0000 (17:29 -0400)
commit3f8a367c70ed975cc40c44c9d4bf50273432052f
tree4a7a4f38ef42c2ed9993b514502b7dfc7f10b3ca
parentecf04d330a9d11842db48c3cfd97097877a27e30
drm/amd/display: Constify dcn20_res_pool_funcs

The only usage of dcn20_res_pool_funcs is to assign its address to a
const pointer. Make it const to allow the compiler to put it in
read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c