mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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:
parent
288912cb95
commit
d26678da53
2 changed files with 20 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue