git: 0d0ca120a79f - main - LinuxKPI: pci.h move function declaration to top of file.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 14:34:16 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=0d0ca120a79ff826d7c2ad84c44359c200460640
commit 0d0ca120a79ff826d7c2ad84c44359c200460640
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-01-26 14:31:26 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-01-26 14:33:31 +0000
LinuxKPI: pci.h move function declaration to top of file.
No functional changes.
X-MFC-with: 49b6d5ed142d6c59b7a517ff5660165d8647bd01
Sponsored by: The FreeBSD Foundation
---
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 b40241e4576d..3b9403a61ecd 100644
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -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_ */