aboutsummaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorJeroen Hofstee2014-10-08 22:57:32 +0200
committerTom Rini2014-10-25 07:02:00 -0400
commit2588ba14dbc4aebbcf6012326a1bdce64dddacbb (patch)
treeb2207e92deb53928a528683a4a86f9ccba94872d /common/board_r.c
parent553d8c3a5a028e01c575480de4894025b4fa01f4 (diff)
common: board_r: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 211d7dfe118..7c339008ed2 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -364,7 +364,7 @@ static int initr_spi(void)
#ifdef CONFIG_CMD_NAND
/* go init the NAND */
-int initr_nand(void)
+static int initr_nand(void)
{
puts("NAND: ");
nand_init();
@@ -374,7 +374,7 @@ int initr_nand(void)
#if defined(CONFIG_CMD_ONENAND)
/* go init the NAND */
-int initr_onenand(void)
+static int initr_onenand(void)
{
puts("NAND: ");
onenand_init();
@@ -383,7 +383,7 @@ int initr_onenand(void)
#endif
#ifdef CONFIG_GENERIC_MMC
-int initr_mmc(void)
+static int initr_mmc(void)
{
puts("MMC: ");
mmc_initialize(gd->bd);
@@ -392,7 +392,7 @@ int initr_mmc(void)
#endif
#ifdef CONFIG_HAS_DATAFLASH
-int initr_dataflash(void)
+static int initr_dataflash(void)
{
AT91F_DataflashInit();
dataflash_print_info();