]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
nds32: adp-ag102: use 'faraday/ftpci100.h' for pci_ftpci_init
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 May 2013 10:11:31 +0000 (12:11 +0200)
committerMacpaul Lin <macpaul@gmail.com>
Wed, 24 Jul 2013 03:49:17 +0000 (11:49 +0800)
commitf6fd4140a5c7141a58a4e890951c9415be5347c4
tree1224233141224a0f70704ceef2f2c8fe5db19f83
parent8599515f42cd51009bb3b0bf8f48e1181b058537
nds32: adp-ag102: use 'faraday/ftpci100.h' for pci_ftpci_init

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.

Cc: Macpaul Lin <macpaul@andestech.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
board/AndesTech/adp-ag102/adp-ag102.c