From: Tom Rini <trini@konsulko.com>
Date: Sat, 15 May 2021 01:34:06 +0000 (-0400)
Subject: pci: Remove non-DM board_pci_fixup_dev() declaration
X-Git-Tag: v2025.01-rc5-pxa1908~1810^2~40
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=c7b36007e7eacf7c58189e76d9ee127188cc7410;p=u-boot.git

pci: Remove non-DM board_pci_fixup_dev() declaration

With the ventana boards migrated to DM_PCI and DM_ETH, we can remove
this prototype.

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/include/pci.h b/include/pci.h
index 2353cebb2a..8e62235bf4 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -828,12 +828,6 @@ int pci_find_next_ext_capability(struct pci_controller *hose,
 int pci_hose_find_ext_capability(struct pci_controller *hose,
 				 pci_dev_t dev, int cap);
 
-#ifdef CONFIG_PCI_FIXUP_DEV
-extern void board_pci_fixup_dev(struct pci_controller *hose, pci_dev_t dev,
-				unsigned short vendor,
-				unsigned short device,
-				unsigned short class);
-#endif
 #endif /* !defined(CONFIG_DM_PCI) || defined(CONFIG_DM_PCI_COMPAT) */
 
 const char * pci_class_str(u8 class);