]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
pci: add prototype for pci_ftpci_init() function
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 May 2013 10:11:29 +0000 (12:11 +0200)
committerMacpaul Lin <macpaul@gmail.com>
Wed, 24 Jul 2013 03:49:17 +0000 (11:49 +0800)
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>
drivers/pci/pci_ftpci100.h

index 19c81a8e7889ec313c3aef60240eb65dd8fdd5c5..7a4945a73ac079273c4b6542dfb002f8ab66e124 100644 (file)
@@ -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;