Patchwork [U-Boot] arm/km: make local functions static

login
register
mail settings
Submitter Holger Brunck
Date May 6, 2013, 1:04 p.m.
Message ID <1367845491-15260-1-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/241641/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Holger Brunck - May 6, 2013, 1:04 p.m.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 board/keymile/km_arm/km_arm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Albert ARIBAUD - June 10, 2013, 4:26 p.m.
Hi Holger,

On Mon,  6 May 2013 15:04:51 +0200, Holger Brunck
<holger.brunck@keymile.com> wrote:

> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> ---
>  board/keymile/km_arm/km_arm.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
> index eda9199..b944887 100644
> --- a/board/keymile/km_arm/km_arm.c
> +++ b/board/keymile/km_arm/km_arm.c
> @@ -160,7 +160,7 @@ int ethernet_present(void)
>  }
>  #endif
>  
> -int initialize_unit_leds(void)
> +static int initialize_unit_leds(void)
>  {
>  	/*
>  	 * Init the unit LEDs per default they all are
> @@ -181,7 +181,7 @@ int initialize_unit_leds(void)
>  }
>  
>  #if defined(CONFIG_BOOTCOUNT_LIMIT)
> -void set_bootcount_addr(void)
> +static void set_bootcount_addr(void)
>  {
>  	uchar buf[32];
>  	unsigned int bootcountaddr;

Applied to u-boot-arm/master, thanks!

Amicalement,

Patch

diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index eda9199..b944887 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -160,7 +160,7 @@  int ethernet_present(void)
 }
 #endif
 
-int initialize_unit_leds(void)
+static int initialize_unit_leds(void)
 {
 	/*
 	 * Init the unit LEDs per default they all are
@@ -181,7 +181,7 @@  int initialize_unit_leds(void)
 }
 
 #if defined(CONFIG_BOOTCOUNT_LIMIT)
-void set_bootcount_addr(void)
+static void set_bootcount_addr(void)
 {
 	uchar buf[32];
 	unsigned int bootcountaddr;