Message ID | 1369563091-21640-5-git-send-email-juhosg@openwrt.org |
---|---|
State | Accepted |
Delegated to: | Macpaul Lin |
Headers | show |
Hi Gabor, 2013/5/26 Gabor Juhos <juhosg@openwrt.org>: > 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. > Applied to u-boot-nds32/master Thanks for your help!
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;
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 | 2 ++ 1 file changed, 2 insertions(+)