]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: Add packed attribute to struct sunxi_prcm_reg
authorChen-Yu Tsai <wens@csie.org>
Tue, 7 Jun 2016 02:54:29 +0000 (10:54 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 20 Jun 2016 20:44:00 +0000 (22:44 +0200)
commitd7d4e5ccd646538a735ea97b446a9453ab49cc17
tree141565034e84a039327269bc4763f299336868bd
parent0f3b8944269034bab18760053346ae1cdcf82d51
sunxi: Add packed attribute to struct sunxi_prcm_reg

struct sunxi_prcm_reg is a representation of the PRCM registers. Add
the packed attribute to prevent the compiler from doing funny things.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/include/asm/arch-sunxi/prcm.h