diff options
author | Nicolai Hähnle <[email protected]> | 2016-05-08 19:20:57 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-05-13 01:03:39 -0500 |
commit | a694c20ecf10fd266d27b8d216794dfa5e19f633 (patch) | |
tree | bc65f76b091103a56041f0e8186b882f273ae1f6 /src/gallium/drivers/radeonsi/si_debug.c | |
parent | c7f73a70f042c24adf57188b2fe5c8c6a6aa8980 (diff) |
radeonsi/sid_tables: rename reg_table to sid_reg_table
This is purely cosmetic, making it easier to assign blame for space used
in the binary in case somebody else makes a similar cleanup effort in the
future.
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index daa934f950d..5783056a049 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -185,8 +185,8 @@ static void si_dump_reg(FILE *file, unsigned offset, uint32_t value, { int r, f; - for (r = 0; r < ARRAY_SIZE(reg_table); r++) { - const struct si_reg *reg = ®_table[r]; + for (r = 0; r < ARRAY_SIZE(sid_reg_table); r++) { + const struct si_reg *reg = &sid_reg_table[r]; const char *reg_name = sid_strings + reg->name_offset; if (reg->offset == offset) { |