]> git.sur5r.net Git - u-boot/commit
pci: declare pciauto functions in header
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 25 Mar 2012 12:13:15 +0000 (12:13 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 30 Mar 2012 20:46:00 +0000 (22:46 +0200)
commita3a707257f4666b4bc2e3f4ddd9510f2b9f64aed
tree918fc1613b44a2d977d3cb26347e52f641394330
parent8d96e1b03476d8e3b90ee3ff6e68238cb095478e
pci: declare pciauto functions in header

The FSL PCI driver uses local prototypes for
pciauto_[pre|post]scan_setup_bridge(), this does not seem right,
so move them to the <pci.h> file.

Fixed a small extern declaration too, this is harmless but distracts
the view since all other prototypes are explicitly external.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pci/fsl_pci_init.c
include/pci.h