]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MX28: Fix a typo in mx28_reg_8 macro
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 11 May 2012 05:37:59 +0000 (05:37 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:27 +0000 (14:07 +0200)
The macro mistakenly referred to 32bit struct instead of 8bit one.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Marek Vasut <marex@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
arch/arm/include/asm/arch-mx28/regs-common.h

index 94b512d18ace08aeef8a863d557a570b3054617b..d2e19538af2b09549edfd0a8f01094576215b41f 100644 (file)
@@ -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)                               \