aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák2010-04-26 13:06:53 -0500
committerMarek Olšák2010-04-26 13:09:34 -0500
commitaf98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5 (patch)
treeddbb0e334bc4c0f8d9cbdac0cf935debaa6054a2 /radeon/radeon_cs.h
parentc9065c5963db1b8196d278c47b8da2c33a3c49d1 (diff)
downloadexternal-libgbm-af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.tar.gz
external-libgbm-af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.tar.xz
external-libgbm-af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.zip
radeon: use the const qualifier in radeon_cs_write_table
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to 'radeon/radeon_cs.h')
-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)
130} 130}
131 131
132static inline void radeon_cs_write_table(struct radeon_cs *cs, 132static inline void radeon_cs_write_table(struct radeon_cs *cs,
133 void *data, uint32_t size) 133 const void *data, uint32_t size)
134{ 134{
135 memcpy(cs->packets + cs->cdw, data, size * 4); 135 memcpy(cs->packets + cs->cdw, data, size * 4);
136 cs->cdw += size; 136 cs->cdw += size;