From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 26 May 2013 10:11:29 +0000 (+0200)
Subject: pci: add prototype for pci_ftpci_init() function
X-Git-Tag: v2025.01-rc5-pxa1908~16018^2~9
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=b979cba9da8aa859f4dcec9b9036eb9ca0f13210;p=u-boot.git

pci: add prototype for pci_ftpci_init() function

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@andestech.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---

diff --git a/drivers/pci/pci_ftpci100.h b/drivers/pci/pci_ftpci100.h
index 19c81a8e78..7a4945a73a 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;