Commit 2588ba14dbc4aebbcf6012326a1bdce64dddacbb
Committed by
Tom Rini
1 parent
553d8c3a5a
Exists in
v2017.01-smarct4x
and in
37 other branches
common: board_r: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
common/board_r.c
... | ... | @@ -364,7 +364,7 @@ |
364 | 364 | |
365 | 365 | #ifdef CONFIG_CMD_NAND |
366 | 366 | /* go init the NAND */ |
367 | -int initr_nand(void) | |
367 | +static int initr_nand(void) | |
368 | 368 | { |
369 | 369 | puts("NAND: "); |
370 | 370 | nand_init(); |
... | ... | @@ -374,7 +374,7 @@ |
374 | 374 | |
375 | 375 | #if defined(CONFIG_CMD_ONENAND) |
376 | 376 | /* go init the NAND */ |
377 | -int initr_onenand(void) | |
377 | +static int initr_onenand(void) | |
378 | 378 | { |
379 | 379 | puts("NAND: "); |
380 | 380 | onenand_init(); |
... | ... | @@ -383,7 +383,7 @@ |
383 | 383 | #endif |
384 | 384 | |
385 | 385 | #ifdef CONFIG_GENERIC_MMC |
386 | -int initr_mmc(void) | |
386 | +static int initr_mmc(void) | |
387 | 387 | { |
388 | 388 | puts("MMC: "); |
389 | 389 | mmc_initialize(gd->bd); |
... | ... | @@ -392,7 +392,7 @@ |
392 | 392 | #endif |
393 | 393 | |
394 | 394 | #ifdef CONFIG_HAS_DATAFLASH |
395 | -int initr_dataflash(void) | |
395 | +static int initr_dataflash(void) | |
396 | 396 | { |
397 | 397 | AT91F_DataflashInit(); |
398 | 398 | dataflash_print_info(); |