diff options
Diffstat (limited to 'rust/helpers')
| -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 e44905317..23b06becb 100644 --- a/rust/helpers/pci.c +++ b/rust/helpers/pci.c @@ -24,6 +24,11 @@ __rust_helper bool rust_helper_dev_is_pci(const struct device *dev) return dev_is_pci(dev); } +__rust_helper unsigned int rust_helper_pci_irq_type(struct pci_dev *pdev) +{ + return pci_irq_type(pdev); +} + #ifndef CONFIG_PCI_MSI __rust_helper int rust_helper_pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, |
