diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-04-28 13:31:30 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-05-05 13:13:43 +0300 |
commit | a734ac2058fd0cce842a4290335c0697d89b2d63 (patch) | |
tree | 3f780c1cf1c3655b194e764b959480e7a5c3e41b /tools/intel_reg.c | |
parent | db84a8cf143f5d343220eb1d85a20b8b3da4036c (diff) |
rename global mmio variable to igt_global_mmio
Global variable names should reflect the fact that they are indeed
global, and at the very least they should not be as short as just
"mmio". Rename mmio to igt_global_mmio.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/intel_reg.c')
-rw-r--r-- | tools/intel_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg.c b/tools/intel_reg.c index 0f982669..090cc256 100644 --- a/tools/intel_reg.c +++ b/tools/intel_reg.c @@ -491,7 +491,7 @@ static int intel_reg_snapshot(struct config *config, int argc, char *argv[]) intel_mmio_use_pci_bar(config->pci_dev); /* XXX: error handling */ - write(1, mmio, config->pci_dev->regions[mmio_bar].size); + write(1, igt_global_mmio, config->pci_dev->regions[mmio_bar].size); if (config->verbosity > 0) printf("use this with --mmio=FILE --devid=0x%04X\n", |