From af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 26 Apr 2010 20:06:53 +0200 Subject: radeon: use the const qualifier in radeon_cs_write_table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Olšák --- radeon/radeon_cs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3