[PATCH 01/27] pci: Remove non-DM board_pci_fixup_dev() declaration

Tom Rini
2021-05-15T01:34:06Z

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>
---
This requires "imx: ventana: enable dm support for PCI and FEC ethernet"
to be applied first and can go in whenever that patch is applied.
---
include/pci.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/include/pci.h b/include/pci.h
index 2353cebb2a3e..8e62235bf40a 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);
--
2.17.1