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:
parent
ec1926aaff
commit
6034b0f184
|
@ -151,7 +151,7 @@ static int pci_module_redraw(WINDOW *win)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pci_scan_bus(int bus)
|
static void ci_pci_scan_bus(int bus)
|
||||||
{
|
{
|
||||||
int slot, func;
|
int slot, func;
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
|
@ -196,7 +196,7 @@ static void pci_scan_bus(int bus)
|
||||||
|
|
||||||
busses = pci_read_config32(dev, REG_PRIMARY_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)
|
static int pci_module_init(void)
|
||||||
{
|
{
|
||||||
pci_scan_bus(0);
|
ci_pci_scan_bus(0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue