]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/pci.h
initcall: Display error number when an error occurs
[karo-tx-uboot.git] / include / pci.h
index 461f17c058950d89f572545dbcd981e4b4eb6838..2ff73653c5c2382ae654a22c047e743c67b55df1 100644 (file)
@@ -659,6 +659,13 @@ extern int pci_hose_find_cap_start(struct pci_controller *hose, pci_dev_t dev,
 extern int pci_find_cap(struct pci_controller *hose, pci_dev_t dev, int pos,
                        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
+
 const char * pci_class_str(u8 class);
 int pci_last_busno(void);