diff options
| author | Rikard Falkeborn <[email protected]> | 2021-02-09 23:48:17 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2021-02-25 13:40:25 +0000 |
| commit | 19bafac4f56f42c499e7343d884b7878204652d3 (patch) | |
| tree | 2864be5bd0e564f398b6a31b788d9a314460dc47 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/radeon/ttm: constify static vm_operations_struct (diff) | |
| download | kernel-19bafac4f56f42c499e7343d884b7878204652d3.tar.gz kernel-19bafac4f56f42c499e7343d884b7878204652d3.zip | |
drm/nouveau/ttm: constify static vm_operations_struct
The only usage of nouveau_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
