summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-08-01 23:36:41 -0700
committerKenneth Graunke <[email protected]>2019-08-01 23:36:41 -0700
commitadcc0a8fdcd5307f882339ed933573ef9825eb69 (patch)
tree46d068c3b8c474ecc76b07d1de64ce615ba21d96
parent54fbc625ea132fa99718f7878c91d9f565a0bfb9 (diff)
intel/tools: Fix aubinator_viewer build.
This functions was recently renamed and not all callers were updated. Fixes: 086c486a75f ("intel/device: rename gen_get_device_info")
-rw-r--r--src/intel/tools/aubinator_viewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator_viewer.cpp b/src/intel/tools/aubinator_viewer.cpp
index 3eed5140ef2..d3ed1948c9e 100644
--- a/src/intel/tools/aubinator_viewer.cpp
+++ b/src/intel/tools/aubinator_viewer.cpp
@@ -126,7 +126,7 @@ handle_info(void *user_data, int pci_id, const char *app_name)
file->pci_id = pci_id;
snprintf(file->app_name, sizeof(app_name), "%s", app_name);
- if (!gen_get_device_info(file->pci_id, &file->devinfo)) {
+ if (!gen_get_device_info_from_pci_id(file->pci_id, &file->devinfo)) {
fprintf(stderr, "can't find device information: pci_id=0x%x\n", file->pci_id);
exit(EXIT_FAILURE);
}