[U-Boot] [PATCH 1/5] usb: musb: make sure the register layout is packed
Remy Bohmer
linux at bohmer.net
Tue Dec 22 20:29:13 CET 2009
Hi,
2009/12/17 Mike Frysinger <vapier at gentoo.org>:
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> drivers/usb/musb/musb_core.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h
> index f9da3f0..5e01b98 100644
> --- a/drivers/usb/musb/musb_core.h
> +++ b/drivers/usb/musb/musb_core.h
> @@ -97,7 +97,7 @@ struct musb_regs {
> u8 rxhubaddr;
> u8 rxhubport;
> } tar[16];
> -} __attribute__((aligned(32)));
> +} __attribute__((packed, aligned(32)));
>
> /*
> * MUSB Register bits
> --
> 1.6.5.5
Applied to u-boot-usb with merge conflicts, please review the merge changes at:
http://git.denx.de/?p=u-boot/u-boot-usb.git;a=commitdiff;h=b2178ae3c6770cb3313b10e4be2df91230b5b3c4
Thanks.
Remy
More information about the U-Boot
mailing list