[PATCH] ttm/drm: constify ttm_backend_func structures

2015-12-11 Thread Christian König
On 11.12.2015 14:37, Julia Lawall wrote: > The ttm_backend_func structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Reviewed-by: Christian König > > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |2 +- > driver

[PATCH] ttm/drm: constify ttm_backend_func structures

2015-12-11 Thread Julia Lawall
The ttm_backend_func structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |2 +- drivers/gpu/drm/ast/ast_ttm.c |2 +- drivers/gpu/drm/bochs/bochs_mm.c|2 +