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>
diff --git a/payloads/coreinfo/pci_module.c b/payloads/coreinfo/pci_module.c
index 0385e9d..ff01770 100644
--- a/payloads/coreinfo/pci_module.c
+++ b/payloads/coreinfo/pci_module.c
@@ -151,7 +151,7 @@
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 @@
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_init(void)
{
- pci_scan_bus(0);
+ ci_pci_scan_bus(0);
return 0;
}