pci: get rid of local prototypes
PATCH 1/2 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 <[email protected]>
--- board/esd/cpci750/pci.c | 4 ---- board/prodrive/p3mx/pci.c | 4 ---- 2 files changed, 0 insertions(+), 8 deletions(-)
board/esd/cpci750/pci.c +0 -4
@@ -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
board/prodrive/p3mx/pci.c +0 -4
@@ -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
Signature · 1 line
1.7.7.6
Wolfgang Denk
AppliedPATCH 1/2 pci: get rid of local prototypes
Dear "Linus Walleij",
Quoted 9 lines · In message <[email protected]> you…
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 <[email protected]>--- board/esd/cpci750/pci.c | 4 ---- board/prodrive/p3mx/pci.c | 4 ---- 2 files changed, 0 insertions(+), 8 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Winners never talk about glorious victories. That's because they're
the ones who see what the battlefield looks like afterwards. It's
only the losers who have glorious victories.
- Terry Pratchett, _Small Gods_