From: Christian Gmeiner Date: Wed, 20 Jan 2016 21:11:52 +0000 (+0100) Subject: freedreno: make opc array static const X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66672e791c1d9d8d168c661695b4959c122e3da5;p=mesa.git freedreno: make opc array static const Signed-off-by: Christian Gmeiner Signed-off-by: Rob Clark --- 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;