mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 23:23:30 +08:00
pci: get rid of local prototypes
two boards were redeclaring pciauto_region_allocate() in their local scope for no obvious reason, the function is in <pci.h> anyway, this is probably just copying artifacts and old cruft. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
57210c7cc3
commit
8d96e1b034
@ -28,10 +28,6 @@
|
||||
#ifdef CONFIG_PCI
|
||||
#include <pci.h>
|
||||
|
||||
#ifdef CONFIG_PCI_PNP
|
||||
int pciauto_region_allocate(struct pci_region* res, unsigned int size, unsigned int *bar);
|
||||
#endif
|
||||
|
||||
#include "../../Marvell/include/pci.h"
|
||||
|
||||
#undef DEBUG
|
||||
|
@ -28,10 +28,6 @@
|
||||
#ifdef CONFIG_PCI
|
||||
#include <pci.h>
|
||||
|
||||
#ifdef CONFIG_PCI_PNP
|
||||
int pciauto_region_allocate(struct pci_region* res, unsigned int size, unsigned int *bar);
|
||||
#endif
|
||||
|
||||
#include "../../Marvell/include/pci.h"
|
||||
|
||||
#undef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user