pci: display header for bus scan
If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display
a 'PCI:' header prior to scan.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 3babd94..5b6c6bc 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -503,6 +503,10 @@
}
#endif /* CONFIG_PCI_BOOTDELAY */
+#ifdef CONFIG_PCI_SCAN_SHOW
+ puts("PCI:\n");
+#endif
+
/*
* Start scan at current_busno.
* PCIe will start scan at first_busno+1.