summaryrefslogtreecommitdiff
path: root/freedreno/kgsl/kgsl_ringbuffer.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-15 17:17:52 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-04 21:39:06 +0100
commit6a6d668fad9833350deaddc61e917de3dcb38262 (patch)
tree5a565cb5bc235a729f8daf698d203e81abe3f9b3 /freedreno/kgsl/kgsl_ringbuffer.c
parentec2b105492cae093cc78003239e9b6816d1a7384 (diff)
freedreno: annotate the device/bo/pipe/ringbuffer funcs as const data
Cc: freedreno@lists.freedesktop.org Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'freedreno/kgsl/kgsl_ringbuffer.c')
-rw-r--r--freedreno/kgsl/kgsl_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freedreno/kgsl/kgsl_ringbuffer.c b/freedreno/kgsl/kgsl_ringbuffer.c
index f0133078..6f68f2f3 100644
--- a/freedreno/kgsl/kgsl_ringbuffer.c
+++ b/freedreno/kgsl/kgsl_ringbuffer.c
@@ -191,7 +191,7 @@ static void kgsl_ringbuffer_destroy(struct fd_ringbuffer *ring)
free(kgsl_ring);
}
-static struct fd_ringbuffer_funcs funcs = {
+static const struct fd_ringbuffer_funcs funcs = {
.hostptr = kgsl_ringbuffer_hostptr,
.flush = kgsl_ringbuffer_flush,
.emit_reloc = kgsl_ringbuffer_emit_reloc,