From 66672e791c1d9d8d168c661695b4959c122e3da5 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 20 Jan 2016 22:11:52 +0100 Subject: [PATCH] freedreno: make opc array static const Signed-off-by: Christian Gmeiner Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/disasm-a3xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c index 1d5022b69c7..599872470fc 100644 --- a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c +++ b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c @@ -650,7 +650,7 @@ static void print_instr_cat6(instr_t *instr) /* size of largest OPC field of all the instruction categories: */ #define NOPC_BITS 6 -struct opc_info { +static const struct opc_info { uint16_t cat; uint16_t opc; const char *name; -- 2.30.2