mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 18:11:33 +00: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
2 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue