intel/tools: Fix aubinator_viewer build.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 2 Aug 2019 06:36:41 +0000 (23:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 2 Aug 2019 06:36:41 +0000 (23:36 -0700)
This functions was recently renamed and not all callers were updated.

Fixes: 086c486a75f ("intel/device: rename gen_get_device_info")
src/intel/tools/aubinator_viewer.cpp

index 3eed5140ef24396bfbfab06550e1cdf1dcd4a31b..d3ed1948c9e6f828ec1ea1b45067a2df54dd46dc 100644 (file)
@@ -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);
    }