mirror of https://gitee.com/openkylin/linux.git
ARM: ux500: Remove unused 'data_width' attributes from UART DMA configs
DMA configuration data is now allocated in the UART driver, so these are just ignored. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
de63589efa
commit
c86519c1ab
|
@ -504,48 +504,36 @@ static struct stedma40_chan_cfg uart0_dma_cfg_rx = {
|
||||||
.mode = STEDMA40_MODE_LOGICAL,
|
.mode = STEDMA40_MODE_LOGICAL,
|
||||||
.dir = STEDMA40_PERIPH_TO_MEM,
|
.dir = STEDMA40_PERIPH_TO_MEM,
|
||||||
.dev_type = DB8500_DMA_DEV13_UART0,
|
.dev_type = DB8500_DMA_DEV13_UART0,
|
||||||
.src_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
.dst_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct stedma40_chan_cfg uart0_dma_cfg_tx = {
|
static struct stedma40_chan_cfg uart0_dma_cfg_tx = {
|
||||||
.mode = STEDMA40_MODE_LOGICAL,
|
.mode = STEDMA40_MODE_LOGICAL,
|
||||||
.dir = STEDMA40_MEM_TO_PERIPH,
|
.dir = STEDMA40_MEM_TO_PERIPH,
|
||||||
.dev_type = DB8500_DMA_DEV13_UART0,
|
.dev_type = DB8500_DMA_DEV13_UART0,
|
||||||
.src_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
.dst_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct stedma40_chan_cfg uart1_dma_cfg_rx = {
|
static struct stedma40_chan_cfg uart1_dma_cfg_rx = {
|
||||||
.mode = STEDMA40_MODE_LOGICAL,
|
.mode = STEDMA40_MODE_LOGICAL,
|
||||||
.dir = STEDMA40_PERIPH_TO_MEM,
|
.dir = STEDMA40_PERIPH_TO_MEM,
|
||||||
.dev_type = DB8500_DMA_DEV12_UART1,
|
.dev_type = DB8500_DMA_DEV12_UART1,
|
||||||
.src_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
.dst_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct stedma40_chan_cfg uart1_dma_cfg_tx = {
|
static struct stedma40_chan_cfg uart1_dma_cfg_tx = {
|
||||||
.mode = STEDMA40_MODE_LOGICAL,
|
.mode = STEDMA40_MODE_LOGICAL,
|
||||||
.dir = STEDMA40_MEM_TO_PERIPH,
|
.dir = STEDMA40_MEM_TO_PERIPH,
|
||||||
.dev_type = DB8500_DMA_DEV12_UART1,
|
.dev_type = DB8500_DMA_DEV12_UART1,
|
||||||
.src_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
.dst_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct stedma40_chan_cfg uart2_dma_cfg_rx = {
|
static struct stedma40_chan_cfg uart2_dma_cfg_rx = {
|
||||||
.mode = STEDMA40_MODE_LOGICAL,
|
.mode = STEDMA40_MODE_LOGICAL,
|
||||||
.dir = STEDMA40_PERIPH_TO_MEM,
|
.dir = STEDMA40_PERIPH_TO_MEM,
|
||||||
.dev_type = DB8500_DMA_DEV11_UART2,
|
.dev_type = DB8500_DMA_DEV11_UART2,
|
||||||
.src_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
.dst_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct stedma40_chan_cfg uart2_dma_cfg_tx = {
|
static struct stedma40_chan_cfg uart2_dma_cfg_tx = {
|
||||||
.mode = STEDMA40_MODE_LOGICAL,
|
.mode = STEDMA40_MODE_LOGICAL,
|
||||||
.dir = STEDMA40_MEM_TO_PERIPH,
|
.dir = STEDMA40_MEM_TO_PERIPH,
|
||||||
.dev_type = DB8500_DMA_DEV11_UART2,
|
.dev_type = DB8500_DMA_DEV11_UART2,
|
||||||
.src_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
.dst_info.data_width = STEDMA40_BYTE_WIDTH,
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue