[U-Boot] [PATCH 3/6] udoo_neo: Staticize board_string()

Stefano Babic sbabic at denx.de
Fri Dec 16 10:13:05 CET 2016


On 01/12/2016 19:37, Breno Lima wrote:
> Change board_string() function to static because it's being used locally.
> 
> Signed-off-by: Breno Lima <breno.lima at nxp.com>
> ---
>  board/udoo/neo/neo.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
> index efe8605..cfeed6f 100644
> --- a/board/udoo/neo/neo.c
> +++ b/board/udoo/neo/neo.c
> @@ -176,7 +176,7 @@ int board_mmc_init(bd_t *bis)
>  	return fsl_esdhc_initialize(bis, &usdhc_cfg[0]);
>  }
>  
> -char *board_string(void)
> +static char *board_string(void)
>  {
>  	switch (get_board_value()) {
>  	case UDOO_NEO_TYPE_BASIC:
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list