LinuxKPI: pci.h move function declaration to top of file.

No functional changes.

X-MFC-with:	49b6d5ed14
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Bjoern A. Zeeb 2023-01-26 14:31:26 +00:00
parent 0bd4c448ec
commit 0d0ca120a7

View File

@ -357,6 +357,7 @@ struct pcim_iomap_devres {
int pci_request_region(struct pci_dev *pdev, int bar, const char *res_name);
int pci_alloc_irq_vectors(struct pci_dev *pdev, int minv, int maxv,
unsigned int flags);
bool pci_device_is_present(struct pci_dev *pdev);
/* Internal helper function(s). */
struct pci_dev *lkpinew_pci_dev(device_t);
@ -1683,6 +1684,4 @@ pci_wait_for_pending_transaction(struct pci_dev *pdev)
return (0);
}
bool pci_device_is_present(struct pci_dev *pdev);
#endif /* _LINUXKPI_LINUX_PCI_H_ */