mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
d01b17611b
commit
a1e47b66d9
5 changed files with 1 additions and 4 deletions
|
@ -51,7 +51,6 @@ void pciauto_prescan_setup_bridge(struct pci_controller *hose,
|
|||
pci_dev_t dev, int sub_bus);
|
||||
void pciauto_postscan_setup_bridge(struct pci_controller *hose,
|
||||
pci_dev_t dev, int sub_bus);
|
||||
void pciauto_config_init(struct pci_controller *hose);
|
||||
|
||||
#ifndef CONFIG_SYS_PCI_MEMORY_BUS
|
||||
#define CONFIG_SYS_PCI_MEMORY_BUS 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue