]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pci: move pciauto_config_init() to pci.h
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 3 Mar 2012 10:05:08 +0000 (10:05 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 4 Mar 2012 20:13:33 +0000 (21:13 +0100)
commita1e47b66d98f5caf19895965cfe38c176bbf01e8
tree1636ac2a7ded404aec6adb8d1465b422ad4e157a
parentd01b17611b01928b862756d86b20eaaa0ff60fb0
pci: move pciauto_config_init() to pci.h

Fixing build regressions for the Integrator I get find that a few
boards try to work around the missing declaration of
pciauto_config_init() by declaring it in the local scope. This
does not make sense when the sibling functions are in <pci.h>
so move the function to the header, ridding the build error
in the Integrator and getting rid of the local declarations
here and there.

Reported-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
board/esd/cpci750/pci.c
board/prodrive/p3mx/pci.c
drivers/pci/fsl_pci_init.c
drivers/pci/pci.c
include/pci.h