Patchwork [U-Boot] powerpc/85xx: Cleanup extern in corenet_ds board code

login
register
mail settings
Submitter Kumar Gala
Date Aug. 1, 2011, 3:47 p.m.
Message ID <1312213661-18017-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/107777/
State Accepted
Commit 5471370b43382907eee5034880967331cd1b7aec
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - Aug. 1, 2011, 3:47 p.m.
Move extern of pci_of_setup() into corenet_ds.h

Signed-off-by: Kumar Gala <galak@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(-)
Kumar Gala - Aug. 30, 2011, 10:48 p.m.
On Aug 1, 2011, at 10:47 AM, Kumar Gala wrote:

> Move extern of pci_of_setup() into corenet_ds.h
> 
> Signed-off-by: Kumar Gala <galak@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(-)

applied to 85xx next

- k

Patch

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