Patchwork [U-Boot,1/4] powerpc/83xx: remove staticness for qe_iop_conf_tab

login
register
mail settings
Submitter Holger Brunck
Date July 4, 2013, 1:37 p.m.
Message ID <1372945054-20332-1-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/256906/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Holger Brunck - July 4, 2013, 1:37 p.m.
commit a5510058 powerpc/83xx/km: make local functions and structs static

removed the staticness also from this struct. But this struct is needed
in arch/powerpc/cpu/mpc83xx/cpu_init.c and declared as extern.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 board/keymile/km83xx/km83xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Holger Brunck - Sept. 18, 2013, 6:44 a.m.
Hi Kim,

On 07/04/2013 03:37 PM, Holger Brunck wrote:
> commit a5510058 powerpc/83xx/km: make local functions and structs static
> 
> removed the staticness also from this struct. But this struct is needed
> in arch/powerpc/cpu/mpc83xx/cpu_init.c and declared as extern.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> ---
>  board/keymile/km83xx/km83xx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
> index 812a436..47c40f5 100644
> --- a/board/keymile/km83xx/km83xx.c
> +++ b/board/keymile/km83xx/km83xx.c
> @@ -31,7 +31,7 @@
>  
>  #include "../common/common.h"
>  
> -static const qe_iop_conf_t qe_iop_conf_tab[] = {
> +const qe_iop_conf_t qe_iop_conf_tab[] = {
>  	/* port pin dir open_drain assign */
>  #if defined(CONFIG_MPC8360)
>  	/* MDIO */
> 

we are already at rc3 for v2013.10-rc3 could you please pull these 4 patches
into your tree to get them merge for mainline u-boot?

Thanks!
Holger

Patch

diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index 812a436..47c40f5 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -31,7 +31,7 @@ 
 
 #include "../common/common.h"
 
-static const qe_iop_conf_t qe_iop_conf_tab[] = {
+const qe_iop_conf_t qe_iop_conf_tab[] = {
 	/* port pin dir open_drain assign */
 #if defined(CONFIG_MPC8360)
 	/* MDIO */