drm/amd/display: Make function pointer structs const
authorHarry Wentland <harry.wentland@amd.com>
Fri, 6 Jul 2018 13:49:05 +0000 (09:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jul 2018 19:17:23 +0000 (14:17 -0500)
commitbd4e725084189a198ca47d369d85100216d29b7e
treed3abf4f1ba5490238a54bcef87de161ed85695ab
parenta14cc8422a2601348bc5279c1d849920e91170f2
drm/amd/display: Make function pointer structs const

const to avoid hard-to-find bugs where some function overrides a
function pointer.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h