drm/amd/display: Constify dcn21_res_pool_funcs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Tue, 4 Aug 2020 20:06:54 +0000 (22:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:29 +0000 (17:29 -0400)
commitea22cc3353eda4b275d394c2369c8ffa87753165
tree304d6fb53fdd9f8613147d9ef9b4d3a6f122f497
parent25457a1fb76448875013625fdc10ed4e941585b4
drm/amd/display: Constify dcn21_res_pool_funcs

The only usage of dcn21_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/dcn21/dcn21_resource.c