diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 18:24:39 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 18:24:39 +0100 |
commit | 8cdb5bc5e838665bd8aafde3667a55152196e7f4 (patch) | |
tree | a6f7407bf603a2c246910364a15728045b4cc38f /overlay/gpu-perf.h | |
parent | 3e430a8b01ae13bac878863663bd3e2efd995c6d (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h index 58bf3062b..6a3e00d2e 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; |