mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 14:03:29 +03:00
[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>
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user