summaryrefslogtreecommitdiff
path: root/radeon
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-26 20:06:53 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-26 20:09:34 +0200
commitaf98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5 (patch)
treeddbb0e334bc4c0f8d9cbdac0cf935debaa6054a2 /radeon
parentc9065c5963db1b8196d278c47b8da2c33a3c49d1 (diff)
radeon: use the const qualifier in radeon_cs_write_table
Signed-off-by: Marek Olšák <maraeo@gmail.com>
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;