payloads/coreinfo: Rename pci_scan_bus()

Rename pci_scan_bus() since the name is already used in libpayload.

Change-Id: I9d4a842b77f418484e1fcf60a79723480a53e30d
Signed-off-by: Felix Singer <felix.singer@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46557
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Felix Singer 2020-10-19 17:42:59 +02:00 committed by Nico Huber
parent ec1926aaff
commit 6034b0f184
1 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ static int pci_module_redraw(WINDOW *win)
return 0;
}
static void pci_scan_bus(int bus)
static void ci_pci_scan_bus(int bus)
{
int slot, func;
unsigned int val;
@ -196,7 +196,7 @@ static void pci_scan_bus(int bus)
busses = pci_read_config32(dev, REG_PRIMARY_BUS);
pci_scan_bus((busses >> 8) & 0xff);
ci_pci_scan_bus((busses >> 8) & 0xff);
}
}
@ -240,7 +240,7 @@ static int pci_module_handle(int key)
static int pci_module_init(void)
{
pci_scan_bus(0);
ci_pci_scan_bus(0);
return 0;
}