mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +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
|
* @v dev Generic device to fill in
|
||||||
* @ret rc Return status code
|
* @ret rc Return status code
|
||||||
*/
|
*/
|
||||||
static int efi_pci_info ( EFI_HANDLE device, const char *prefix,
|
static int efi_device_info_pci ( EFI_HANDLE device, const char *prefix,
|
||||||
struct device *dev ) {
|
struct device *dev ) {
|
||||||
EFI_HANDLE pci_device;
|
EFI_HANDLE pci_device;
|
||||||
struct efi_pci_device efipci;
|
struct efi_pci_device efipci;
|
||||||
int rc;
|
int rc;
|
||||||
@@ -211,7 +211,7 @@ void efi_device_info ( EFI_HANDLE device, const char *prefix,
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
/* Try getting underlying PCI device information */
|
/* 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;
|
return;
|
||||||
|
|
||||||
/* If we cannot get any underlying device information, fall
|
/* If we cannot get any underlying device information, fall
|
||||||
|
|||||||
Reference in New Issue
Block a user