aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-01-26 14:31:26 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2023-01-26 14:33:31 +0000
commit0d0ca120a79ff826d7c2ad84c44359c200460640 (patch)
treeaac51cd362e5f8c15581675c691a9996c07cb56f
parent0bd4c448ec1dfdc2300a6cacca42e1fc7c4d8f14 (diff)
downloadsrc-0d0ca120a79ff826d7c2ad84c44359c200460640.tar.gz
src-0d0ca120a79ff826d7c2ad84c44359c200460640.zip
LinuxKPI: pci.h move function declaration to top of file.
No functional changes. X-MFC-with: 49b6d5ed142d6c59b7a517ff5660165d8647bd01 Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/compat/linuxkpi/common/include/linux/pci.h3
1 files changed, 1 insertions, 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_ */