Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> --- lib/pci.h | 1 + lib/pci.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pci.h b/lib/pci.h index 703c1fb689bf..3da3ccc8c791 100644 --- a/lib/pci.h +++ b/lib/pci.h @@ -65,6 +65,7 @@ extern bool pci_bar_is_memory(struct pci_dev *dev, int bar_num); extern bool pci_bar_is_valid(struct pci_dev *dev, int bar_num); extern void pci_bar_print(struct pci_dev *dev, int bar_num); extern void pci_dev_print_id(pcidevaddr_t dev); +extern void pci_dev_print(pcidevaddr_t dev); extern uint8_t pci_intx_line(struct pci_dev *dev); void pci_msi_set_enable(struct pci_dev *dev, bool enabled); diff --git a/lib/pci.c b/lib/pci.c index 99dd830e82ec..8ceb8ef91c75 100644 --- a/lib/pci.c +++ b/lib/pci.c @@ -274,7 +274,7 @@ void pci_dev_print_id(pcidevaddr_t dev) pci_config_readw(dev, PCI_DEVICE_ID)); } -static void pci_dev_print(pcidevaddr_t dev) +void pci_dev_print(pcidevaddr_t dev) { uint8_t header = pci_config_readb(dev, PCI_HEADER_TYPE); uint8_t progif = pci_config_readb(dev, PCI_CLASS_PROG); -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html