mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04: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
|
#ifdef CONFIG_PCI
|
||||||
#include <pci.h>
|
#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"
|
#include "../../Marvell/include/pci.h"
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
@ -28,10 +28,6 @@
|
|||||||
#ifdef CONFIG_PCI
|
#ifdef CONFIG_PCI
|
||||||
#include <pci.h>
|
#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"
|
#include "../../Marvell/include/pci.h"
|
||||||
|
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user