From 6034b0f184e0fd4063891f24b71ac4dc85751274 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 19 Oct 2020 17:42:59 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46557 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- payloads/coreinfo/pci_module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/payloads/coreinfo/pci_module.c b/payloads/coreinfo/pci_module.c index 0385e9d73a..ff01770868 100644 --- a/payloads/coreinfo/pci_module.c +++ b/payloads/coreinfo/pci_module.c @@ -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; }