diff options
author | Christian Gmeiner <[email protected]> | 2016-01-20 22:11:52 +0100 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-01-21 17:20:11 -0500 |
commit | 66672e791c1d9d8d168c661695b4959c122e3da5 (patch) | |
tree | b55fea66d22d2279666eb826ddfc9634457a8879 /src/gallium/drivers/freedreno/ir3 | |
parent | bc1a37378c194400c502939fc00e2e658f3db3b5 (diff) |
freedreno: make opc array static const
Signed-off-by: Christian Gmeiner <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/disasm-a3xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |