summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libpci
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/libpci')
-rw-r--r--payloads/libpayload/libpci/libpci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/payloads/libpayload/libpci/libpci.c b/payloads/libpayload/libpci/libpci.c
index 09b51e5133..0b54ba338c 100644
--- a/payloads/libpayload/libpci/libpci.c
+++ b/payloads/libpayload/libpci/libpci.c
@@ -77,11 +77,15 @@ struct pci_access *pci_alloc(void)
return pacc;
}
-void pci_init(struct pci_access* pacc)
+void pci_init(struct pci_access *pacc)
{
memset(pacc, 0, sizeof(*pacc));
}
+void pci_cleanup(__attribute__ ((unused)) struct pci_access *pacc)
+{
+}
+
void pci_filter_init(struct pci_access* pacc, struct pci_filter* pf)
{
pf->domain = -1;