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:15 +0000
committerChristian König <[email protected]>2021-02-25 13:40:24 +0000
commitfff72bb569ee97a5dafe287e6b9ff4ecdf4f6d6d (patch)
tree4c1851f2ae0668822a394fa6bcff33f0192e8bdd /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdma-buf: heaps: Fix the name used when exporting dmabufs to be the actual hea... (diff)
downloadkernel-fff72bb569ee97a5dafe287e6b9ff4ecdf4f6d6d.tar.gz
kernel-fff72bb569ee97a5dafe287e6b9ff4ecdf4f6d6d.zip
drm/amdgpu/ttm: constify static vm_operations_struct
The only usage of amdgpu_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