Skip to contentSkip to conversation

pci: sh: Add pci_skip_dev and pci_print_dev function

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Jul 11, 2008 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: sh: Add pci_skip_dev and pci_print_dev function

Add function of new PCI, pci_skip_dev and pci_print_dev.

---
 drivers/pci/pci_sh4.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
drivers/pci/pci_sh4.c +12 -0
index 1290c0a..057b6dd 100644
@@ -74,3 +74,15 @@ int pci_sh4_init(struct pci_controller *hose)
 	hose->last_busno = pci_hose_scan(hose);
 	return 0;
 }
+
+int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev)
+{
+	return 0;
+}
+
+#ifdef CONFIG_PCI_SCAN_SHOW
+int pci_print_dev(struct pci_controller *hose, pci_dev_t dev)
+{
+	return 1;
+}
+#endif /* CONFIG_PCI_SCAN_SHOW */
Signature · 1 line
1.5.5.1