drm/amd/display: Make mode_config_funcs const
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e29088b293
commit
b3663f705a
@ -634,8 +634,7 @@ const struct amdgpu_ip_block_version dm_ip_block =
|
||||
.funcs = &amdgpu_dm_funcs,
|
||||
};
|
||||
|
||||
/* TODO: it is temporary non-const, should fixed later */
|
||||
static struct drm_mode_config_funcs amdgpu_dm_mode_funcs = {
|
||||
static const struct drm_mode_config_funcs amdgpu_dm_mode_funcs = {
|
||||
.fb_create = amdgpu_user_framebuffer_create,
|
||||
.output_poll_changed = amdgpu_output_poll_changed,
|
||||
.atomic_check = amdgpu_dm_atomic_check,
|
||||
|
Loading…
Reference in New Issue
Block a user