diff options
Diffstat (limited to 'rust/helpers/pci.c')
| -rw-r--r-- | rust/helpers/pci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/helpers/pci.c b/rust/helpers/pci.c index a714cc2bfb7a..502f56e02fcc 100644 --- a/rust/helpers/pci.c +++ b/rust/helpers/pci.c @@ -29,6 +29,11 @@ __rust_helper unsigned int rust_helper_pci_irq_type(struct pci_dev *pdev) return pci_irq_type(pdev); } +__rust_helper u32 rust_helper_pci_ext_cap_next(u32 header) +{ + return PCI_EXT_CAP_NEXT(header); +} + #ifndef CONFIG_PCI_IOV __rust_helper unsigned int rust_helper_pci_sriov_get_totalvfs(struct pci_dev *pdev) |
