aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-02-09 23:48:16 +0000
committerChristian König <[email protected]>2021-02-25 13:40:24 +0000
commitb6d4abc9ae627b071fef91c64a5ad8f884bbbc45 (patch)
treed784b3cda15f954438cf488b6632ec467e3a200a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu/ttm: constify static vm_operations_struct (diff)
downloadkernel-b6d4abc9ae627b071fef91c64a5ad8f884bbbc45.tar.gz
kernel-b6d4abc9ae627b071fef91c64a5ad8f884bbbc45.zip
drm/radeon/ttm: constify static vm_operations_struct
The only usage of radeon_ttm_vm_ops is to assign its address to the vm_ops field in the vm_area_struct struct. Make it const to allow the compiler to put it in read-only memory Signed-off-by: Rikard Falkeborn <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions