git: 9df37d74c361 - stable/13 - LinuxKPI: pci.h move function declaration to top of file.

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 17 Feb 2023 23:44:44 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9df37d74c361f14b8315f7f3b20fe3d813af20ca

commit 9df37d74c361f14b8315f7f3b20fe3d813af20ca
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-01-26 14:31:26 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-02-17 23:42:14 +0000

    LinuxKPI: pci.h move function declaration to top of file.
    
    No functional changes.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    
    (cherry picked from commit 0d0ca120a79ff826d7c2ad84c44359c200460640)
---
 sys/compat/linuxkpi/common/include/linux/pci.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
index ab94cbeff6e4..ba4ee8a9b70a 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -361,6 +361,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);
@@ -1675,6 +1676,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_ */