[U-Boot] [PATCH] powerpc/85xx: Cleanup extern in corenet_ds board code
Kumar Gala
galak at kernel.crashing.org
Mon Aug 1 17:47:41 CEST 2011
Move extern of pci_of_setup() into corenet_ds.h
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
board/freescale/corenet_ds/corenet_ds.c | 2 --
board/freescale/corenet_ds/corenet_ds.h | 1 +
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/board/freescale/corenet_ds/corenet_ds.c b/board/freescale/corenet_ds/corenet_ds.c
index a03fdfd..b1eecc4 100644
--- a/board/freescale/corenet_ds/corenet_ds.c
+++ b/board/freescale/corenet_ds/corenet_ds.c
@@ -34,8 +34,6 @@
#include <asm/fsl_liodn.h>
#include <fm_eth.h>
-extern void pci_of_setup(void *blob, bd_t *bd);
-
#include "../common/ngpixis.h"
#include "corenet_ds.h"
diff --git a/board/freescale/corenet_ds/corenet_ds.h b/board/freescale/corenet_ds/corenet_ds.h
index 425c6aa..9cdd47d 100644
--- a/board/freescale/corenet_ds/corenet_ds.h
+++ b/board/freescale/corenet_ds/corenet_ds.h
@@ -21,5 +21,6 @@
#define __CORENET_DS_H__
void fdt_fixup_board_enet(void *blob);
+void pci_of_setup(void *blob, bd_t *bd);
#endif
--
1.7.3.4
More information about the U-Boot
mailing list