aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/amba-pl011.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/amba-pl011.c')
-rw-r--r--drivers/tty/serial/amba-pl011.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 9ae024025ff3..db7f88a1bdee 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -51,6 +51,7 @@
51#include <linux/dma-mapping.h> 51#include <linux/dma-mapping.h>
52#include <linux/scatterlist.h> 52#include <linux/scatterlist.h>
53#include <linux/delay.h> 53#include <linux/delay.h>
54#include <linux/types.h>
54 55
55#include <asm/io.h> 56#include <asm/io.h>
56#include <asm/sizes.h> 57#include <asm/sizes.h>
@@ -270,6 +271,7 @@ static void pl011_dma_probe_initcall(struct uart_amba_port *uap)
270 .dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 271 .dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
271 .direction = DMA_MEM_TO_DEV, 272 .direction = DMA_MEM_TO_DEV,
272 .dst_maxburst = uap->fifosize >> 1, 273 .dst_maxburst = uap->fifosize >> 1,
274 .device_fc = false,
273 }; 275 };
274 struct dma_chan *chan; 276 struct dma_chan *chan;
275 dma_cap_mask_t mask; 277 dma_cap_mask_t mask;
@@ -303,6 +305,7 @@ static void pl011_dma_probe_initcall(struct uart_amba_port *uap)
303 .src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 305 .src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
304 .direction = DMA_DEV_TO_MEM, 306 .direction = DMA_DEV_TO_MEM,
305 .src_maxburst = uap->fifosize >> 1, 307 .src_maxburst = uap->fifosize >> 1,
308 .device_fc = false,
306 }; 309 };
307 310
308 chan = dma_request_channel(mask, plat->dma_filter, plat->dma_rx_param); 311 chan = dma_request_channel(mask, plat->dma_filter, plat->dma_rx_param);