[linux] Add missing PROVIDE_PCIAPI_INLINE() macros

Ensure type consistency of the PCI I/O API methods by adding the
missing PROVIDE_PCIAPI_INLINE() macros.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/583/merge
Michael Brown 2022-09-14 23:10:25 +01:00
parent 8f5fc16143
commit 6459e3b7b1
1 changed files with 9 additions and 0 deletions

View File

@ -187,3 +187,12 @@ int linux_pci_write ( struct pci_device *pci, unsigned long where,
err_open:
return rc;
}
PROVIDE_PCIAPI_INLINE ( linux, pci_num_bus );
PROVIDE_PCIAPI_INLINE ( linux, pci_read_config_byte );
PROVIDE_PCIAPI_INLINE ( linux, pci_read_config_word );
PROVIDE_PCIAPI_INLINE ( linux, pci_read_config_dword );
PROVIDE_PCIAPI_INLINE ( linux, pci_write_config_byte );
PROVIDE_PCIAPI_INLINE ( linux, pci_write_config_word );
PROVIDE_PCIAPI_INLINE ( linux, pci_write_config_dword );
PROVIDE_PCIAPI_INLINE ( linux, pci_ioremap );