mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 22:11:08 +03:00
[pci] Move ECAM pci_can_probe() definition to correct header file
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -54,16 +54,6 @@ struct ecam_mapping {
|
|||||||
int rc;
|
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;
|
extern struct pci_api ecam_api;
|
||||||
|
|
||||||
#endif /* _IPXE_ECAM_H */
|
#endif /* _IPXE_ECAM_H */
|
||||||
|
|||||||
@@ -136,4 +136,14 @@ PCIAPI_INLINE ( ecam, pci_ioremap ) ( struct pci_device *pci __unused,
|
|||||||
return ioremap ( bus_addr, len );
|
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 */
|
#endif /* _IPXE_ECAM_IO_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user