summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-17 18:24:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-17 18:24:39 +0100
commit8cdb5bc5e838665bd8aafde3667a55152196e7f4 (patch)
treea6f7407bf603a2c246910364a15728045b4cc38f /overlay/gpu-perf.h
parent3e430a8b01ae13bac878863663bd3e2efd995c6d (diff)
overlay: Constify perf ringbuffer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r--overlay/gpu-perf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h
index 58bf3062..6a3e00d2 100644
--- a/overlay/gpu-perf.h
+++ b/overlay/gpu-perf.h
@@ -8,7 +8,7 @@ struct gpu_perf {
void **map;
struct gpu_perf_sample {
uint64_t id;
- int (*func)(struct gpu_perf *, void *);
+ int (*func)(struct gpu_perf *, const void *);
} *sample;
int flip_complete;