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

The only usage of dcn30_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/dcn30/dcn30_resource.c