summaryrefslogtreecommitdiff
path: root/src/intel.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-02-21 10:43:11 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-02-21 11:29:42 +0000
commitf2aafb98026b5c476b7f84aa2dc4c1f9ba2e573d (patch)
treeca2300e1b7a4c4cb748c14b18eacac8c178ad0d0 /src/intel.h
parent507f72d6d44963cae5d8d4b9da68165f73c6fd36 (diff)
uxa: Silence compiler warning for const arguments
i965_video.c: In function 'gen6_create_cc_state': i965_video.c:1374:12: warning: passing argument 4 of 'intel_bo_alloc_for_data' discards 'const' qualifier from pointer target type [enabled by default] Repeated ad nauseam. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel.h')
-rw-r--r--src/intel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel.h b/src/intel.h
index e5f8bc8b..69f7c724 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -605,7 +605,7 @@ intel_emit_reloc(drm_intel_bo * bo, uint32_t offset,
static inline drm_intel_bo *intel_bo_alloc_for_data(intel_screen_private *intel,
const void *data,
unsigned int size,
- char *name)
+ const char *name)
{
drm_intel_bo *bo;