summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-08-01 10:39:45 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-09-29 19:01:05 -0500
commit5471370b43382907eee5034880967331cd1b7aec (patch)
tree1a506ba3da64f81c3cb735a14d8082b85e91334b /board/freescale
parent0787ecc01f24d62b2563592b75b8dc59e6134668 (diff)
downloadu-boot-imx-5471370b43382907eee5034880967331cd1b7aec.zip
u-boot-imx-5471370b43382907eee5034880967331cd1b7aec.tar.gz
u-boot-imx-5471370b43382907eee5034880967331cd1b7aec.tar.bz2
powerpc/85xx: Cleanup extern in corenet_ds board code
Move extern of pci_of_setup() into corenet_ds.h Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/corenet_ds/corenet_ds.c2
-rw-r--r--board/freescale/corenet_ds/corenet_ds.h1
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