From: Nobuhiro Iwamatsu Date: Fri, 11 Jul 2008 08:22:43 +0000 (+0900) Subject: pci: sh: Add pci_skip_dev and pci_print_dev function X-Git-Tag: v1.3.4-rc1~7^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d85f46a25ccb33ed9b295de3c2cfe1ce270ece9a;p=u-boot pci: sh: Add pci_skip_dev and pci_print_dev function Add function of new PCI, pci_skip_dev and pci_print_dev. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c index 1290c0a799..057b6ddc99 100644 --- a/drivers/pci/pci_sh4.c +++ b/drivers/pci/pci_sh4.c @@ -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 */