[U-Boot] [PATCH 1/8] MX28: Fix a typo in mx28_reg_8 macro

Marek Vasut marex at denx.de
Fri May 11 23:03:02 CEST 2012


Dear Otavio Salvador,

> The macro mistakenly referred to 32bit struct instead of 8bit one.
> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Marek Vasut <marex at denx.de>
> ---
>  arch/arm/include/asm/arch-mx28/regs-common.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx28/regs-common.h
> b/arch/arm/include/asm/arch-mx28/regs-common.h index 94b512d..d2e1953
> 100644
> --- a/arch/arm/include/asm/arch-mx28/regs-common.h
> +++ b/arch/arm/include/asm/arch-mx28/regs-common.h
> @@ -70,7 +70,7 @@ struct mx28_register_32 {
>  #define	mx28_reg_8(name)				\
>  	union {						\
>  		struct { __mx28_reg_8(name) };		\
> -		struct mx28_register_32 name##_reg;	\
> +		struct mx28_register_8 name##_reg;	\
>  	};
> 
>  #define	mx28_reg_32(name)				\

Didn't Fabio sent in something similar already? Either way

Acked-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list