diff options
Diffstat (limited to 'payloads/libpayload/libpci/libpci.c')
-rw-r--r-- | payloads/libpayload/libpci/libpci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/libpci/libpci.c b/payloads/libpayload/libpci/libpci.c index f715666a78..82203a16e9 100644 --- a/payloads/libpayload/libpci/libpci.c +++ b/payloads/libpayload/libpci/libpci.c @@ -219,3 +219,8 @@ struct pci_dev *pci_get_dev(struct pci_access* pacc, u16 domain, u8 bus, u8 dev, cur->func = func; return cur; } + +void pci_free_dev(struct pci_dev *const dev) +{ + free(dev); +} |