diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2011-03-01 07:24:53 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2011-03-01 07:24:53 +0000 |
commit | fb2d29ec75667eeccc793bcd786207a38b1cc1a7 (patch) | |
tree | 9b36b938f485796b28ff06de49ccc7a4c48e0783 /payloads/libpayload/libpci/libpci.c | |
parent | d08996e81f9b70b089c1648c038f035afc3511fc (diff) | |
download | coreboot-staging-fb2d29ec75667eeccc793bcd786207a38b1cc1a7.zip coreboot-staging-fb2d29ec75667eeccc793bcd786207a38b1cc1a7.tar.gz |
libpayload: Implement pci_cleanup()
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6416 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/libpci/libpci.c')
-rw-r--r-- | payloads/libpayload/libpci/libpci.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/payloads/libpayload/libpci/libpci.c b/payloads/libpayload/libpci/libpci.c index 09b51e5..0b54ba3 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; |