diff mbox series

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

Message ID 20210515013432.12867-1-trini@konsulko.com
State Accepted
Commit c7b36007e7eacf7c58189e76d9ee127188cc7410
Delegated to: Tom Rini
Headers show
Series [01/27] pci: Remove non-DM board_pci_fixup_dev() declaration | expand

Commit Message

Tom Rini May 15, 2021, 1:34 a.m. UTC
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(-)

Comments

Tom Rini July 8, 2021, 2:51 a.m. UTC | #1
On Fri, May 14, 2021 at 09:34:06PM -0400, Tom Rini wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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);