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

2016-12-16 Thread Stefano Babic
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 
> ---
>  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, _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: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-12-05 Thread Fabio Estevam
On Thu, Dec 1, 2016 at 4:37 PM, Breno Lima  wrote:
> Change board_string() function to static because it's being used locally.
>
> Signed-off-by: Breno Lima 

Reviewed-by: Fabio Estevam 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-12-01 Thread Breno Lima
Change board_string() function to static because it's being used locally.

Signed-off-by: Breno Lima 
---
 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, _cfg[0]);
 }
 
-char *board_string(void)
+static char *board_string(void)
 {
switch (get_board_value()) {
case UDOO_NEO_TYPE_BASIC:
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot