mirror of
https://github.com/ipxe/ipxe
synced 2026-01-26 17:31:17 +03:00
[efi] Avoid function name near-collision
We currently have both efipci_info() and efi_pci_info() serving different but related purposes. Rename the latter to reduce confusion. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -170,8 +170,8 @@ void efi_child_del ( EFI_HANDLE parent, EFI_HANDLE child ) {
|
||||
* @v dev Generic device to fill in
|
||||
* @ret rc Return status code
|
||||
*/
|
||||
static int efi_pci_info ( EFI_HANDLE device, const char *prefix,
|
||||
struct device *dev ) {
|
||||
static int efi_device_info_pci ( EFI_HANDLE device, const char *prefix,
|
||||
struct device *dev ) {
|
||||
EFI_HANDLE pci_device;
|
||||
struct efi_pci_device efipci;
|
||||
int rc;
|
||||
@@ -211,7 +211,7 @@ void efi_device_info ( EFI_HANDLE device, const char *prefix,
|
||||
int rc;
|
||||
|
||||
/* Try getting underlying PCI device information */
|
||||
if ( ( rc = efi_pci_info ( device, prefix, dev ) ) == 0 )
|
||||
if ( ( rc = efi_device_info_pci ( device, prefix, dev ) ) == 0 )
|
||||
return;
|
||||
|
||||
/* If we cannot get any underlying device information, fall
|
||||
|
||||
Reference in New Issue
Block a user