[U-Boot] [PATCH 4/6] pci: add prototype for pci_ftpci_init() function
Gabor Juhos
juhosg at openwrt.org
Sun May 26 12:11:29 CEST 2013
The pci_ftpci_init() function is implemented
in 'drivers/pci/pci_ftpci100.c' however it is
always called by external code.
Add function declaration into ftpci100.h to
make it visible for external code.
Compile tested only.
Cc: Macpaul Lin <macpaul at andestech.com>
Signed-off-by: Gabor Juhos <juhosg at openwrt.org>
---
drivers/pci/pci_ftpci100.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/pci_ftpci100.h b/drivers/pci/pci_ftpci100.h
index 19c81a8..7a4945a 100644
--- a/drivers/pci/pci_ftpci100.h
+++ b/drivers/pci/pci_ftpci100.h
@@ -76,6 +76,8 @@ struct ftpci100_ahbc {
#define FTPCI100_BRIDGE_VENDORID 0x159b
#define FTPCI100_BRIDGE_DEVICEID 0x4321
+void pci_ftpci_init(void);
+
struct pcibar {
unsigned int size;
unsigned int addr;
--
1.7.10
More information about the U-Boot
mailing list