From: Marek Vasut Date: Tue, 21 Aug 2012 16:17:25 +0000 (+0000) Subject: MX28: DMA: Align the struct mxs_dma_desc X-Git-Tag: v2012.10-rc1~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=615a4ad0f65cc6b4a70abf45b30c6e41b1485eea;p=u-boot MX28: DMA: Align the struct mxs_dma_desc Align this structure to DMA alignment size. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- diff --git a/arch/arm/include/asm/arch-mxs/dma.h b/arch/arm/include/asm/arch-mxs/dma.h index 4a1820bdee..a0a0ea5010 100644 --- a/arch/arm/include/asm/arch-mxs/dma.h +++ b/arch/arm/include/asm/arch-mxs/dma.h @@ -27,6 +27,7 @@ #define __DMA_H__ #include +#include #ifndef CONFIG_ARCH_DMA_PIO_WORDS #define DMA_PIO_WORDS 15 @@ -109,7 +110,7 @@ struct mxs_dma_desc { dma_addr_t address; void *buffer; struct list_head node; -}; +} __aligned(MXS_DMA_ALIGNMENT); /** * MXS DMA channel