瀏覽代碼

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>
Linus Walleij 13 年之前
父節點
當前提交
8d96e1b034
共有 2 個文件被更改,包括 0 次插入8 次删除
  1. 0 4
      board/esd/cpci750/pci.c
  2. 0 4
      board/prodrive/p3mx/pci.c

+ 0 - 4
board/esd/cpci750/pci.c

@@ -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

+ 0 - 4
board/prodrive/p3mx/pci.c

@@ -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