summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-26 12:11:29 +0200
committerMacpaul Lin <macpaul@gmail.com>2013-07-24 11:49:17 +0800
commitb979cba9da8aa859f4dcec9b9036eb9ca0f13210 (patch)
treee8ca9fe779e163b177a944ffb44ccb5814872238 /drivers/pci
parentc575180bae9b6baa8aa06e832f81ff41264f5707 (diff)
downloadu-boot-imx-b979cba9da8aa859f4dcec9b9036eb9ca0f13210.zip
u-boot-imx-b979cba9da8aa859f4dcec9b9036eb9ca0f13210.tar.gz
u-boot-imx-b979cba9da8aa859f4dcec9b9036eb9ca0f13210.tar.bz2
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci_ftpci100.h2
1 files changed, 2 insertions, 0 deletions
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;