drm/radeon: constify radeon_asic_ring structures
The radeon_asic_ring structures are never modified, so declare them as const. Done with the help of Coccinelle. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
288912cb95
commit
d26678da53
@@ -1889,7 +1889,7 @@ struct radeon_asic {
|
||||
void (*pad_ib)(struct radeon_ib *ib);
|
||||
} vm;
|
||||
/* ring specific callbacks */
|
||||
struct radeon_asic_ring *ring[RADEON_NUM_RINGS];
|
||||
const struct radeon_asic_ring *ring[RADEON_NUM_RINGS];
|
||||
/* irqs */
|
||||
struct {
|
||||
int (*set)(struct radeon_device *rdev);
|
||||
|
Reference in New Issue
Block a user