]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[linux] Add missing PROVIDE_PCIAPI_INLINE() macros
authorMichael Brown <mcb30@ipxe.org>
Wed, 14 Sep 2022 22:10:25 +0000 (23:10 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 15 Sep 2022 14:20:58 +0000 (15:20 +0100)
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>
src/interface/linux/linux_pci.c

index 99c629c19070204d470d05d035b75a8a3639bd01..e3c0daa3279c1fec1d42e5b835f73e0b4bd10556 100644 (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 );