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>
This commit is contained in:
committed by
Wolfgang Denk
parent
8d96e1b034
commit
a3a707257f
@@ -47,11 +47,6 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
#define FSL_PCIE_CFG_RDY 0x4b0
|
||||
#define FSL_PROG_IF_AGENT 0x1
|
||||
|
||||
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);
|
||||
|
||||
#ifndef CONFIG_SYS_PCI_MEMORY_BUS
|
||||
#define CONFIG_SYS_PCI_MEMORY_BUS 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user