summaryrefslogtreecommitdiff
path: root/radeon
diff options
context:
space:
mode:
Diffstat (limited to 'radeon')
-rw-r--r--radeon/radeon_cs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/radeon/radeon_cs.h b/radeon/radeon_cs.h
index 7f6ee68b..f68a624e 100644
--- a/radeon/radeon_cs.h
+++ b/radeon/radeon_cs.h
@@ -130,7 +130,7 @@ static inline void radeon_cs_write_qword(struct radeon_cs *cs, uint64_t qword)
}
static inline void radeon_cs_write_table(struct radeon_cs *cs,
- void *data, uint32_t size)
+ const void *data, uint32_t size)
{
memcpy(cs->packets + cs->cdw, data, size * 4);
cs->cdw += size;