diff options
author | Felix Singer <felix.singer@secunet.com> | 2020-10-19 17:42:59 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-10-20 20:34:35 +0000 |
commit | 6034b0f184e0fd4063891f24b71ac4dc85751274 (patch) | |
tree | 0c2a4b0361e23f95fedd2e388651a6ea2c49f5c4 /payloads/coreinfo | |
parent | ec1926aaffa7087d6de8f82ee42678c231ebab48 (diff) |
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>
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r-- | payloads/coreinfo/pci_module.c | 6 |
1 files 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; } |