mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-05 02:23:31 +08:00
MX28: DMA: Align the struct mxs_dma_desc
Align this structure to DMA alignment size. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
acbdea2ece
commit
615a4ad0f6
@ -27,6 +27,7 @@
|
||||
#define __DMA_H__
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user