summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>2012-06-03 12:40:04 +0000
committerTom Rini <trini@ti.com>2012-09-26 11:08:32 -0700
commit00d0d2ad4e875a70e212ec12d17ad5f872f6033d (patch)
tree8d33ba568e6bc1a9bd61577c3a5b2131b70a3873 /arch/nds32
parentb3873d3f4c424e6563750bb517fac03c2e833cdc (diff)
malloc: remove extern declarations of malloc_bin_reloc() in board.c files
Declare malloc_bin_reloc() in malloc.h and remove all extern declarations in various board.c files to get rid of one checkpatch.pl warning. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Andreas Bießmann <andreas.devel@gmail.com> Cc: Jason Jin <Jason.jin@freescale.com> Cc: Macpaul Lin <macpaul@andestech.com> Cc: Daniel Hellstrom <daniel@gaisler.com> Acked-by: Andreas Bießmann <andreas.devel@gmail.com>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/lib/board.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 2164a505f6e..17d3ee071f1 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -306,8 +306,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
bd_t *bd;
ulong malloc_start;
- extern void malloc_bin_reloc(void);
-
gd = id;
bd = gd->bd;