[U-Boot] [PATCH 6/6] nds32: adp-ag102: use 'faraday/ftpci100.h' for pci_ftpci_init

Macpaul Lin macpaul at gmail.com
Wed Jul 24 06:47:13 CEST 2013


Hi Gabor,

2013/5/26 Gabor Juhos <juhosg at openwrt.org>:
> Due to improper external function declaration,
> building U-Boot for the adp-ag102 board shows
> this warning:
>
>   adp-ag102.c: In function 'pci_init_board':
>   adp-ag102.c:95: warning: function declaration isn't a prototype
>
> Include the 'faraday/ftpci100.h' header which
> provides the proper declaration and remove the
> local declaration to get rid of the warning.
>
> Compile tested only.

Applied to u-boot-nds32/master
Thanks for your help!

-- 
Best regards,
Macpaul Lin


More information about the U-Boot mailing list