[pci] Move ECAM pci_can_probe() definition to correct header file

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-11-11 13:13:54 +00:00
parent b41bda4413
commit df7f59d47a
2 changed files with 10 additions and 10 deletions

View File

@@ -54,16 +54,6 @@ struct ecam_mapping {
int rc;
};
/**
* Check if PCI bus probing is allowed
*
* @ret ok Bus probing is allowed
*/
static inline __always_inline int
PCIAPI_INLINE ( ecam, pci_can_probe ) ( void ) {
return 1;
}
extern struct pci_api ecam_api;
#endif /* _IPXE_ECAM_H */

View File

@@ -136,4 +136,14 @@ PCIAPI_INLINE ( ecam, pci_ioremap ) ( struct pci_device *pci __unused,
return ioremap ( bus_addr, len );
}
/**
* Check if PCI bus probing is allowed
*
* @ret ok Bus probing is allowed
*/
static inline __always_inline int
PCIAPI_INLINE ( ecam, pci_can_probe ) ( void ) {
return 1;
}
#endif /* _IPXE_ECAM_IO_H */