diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-10-16 09:29:06 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-10-16 10:38:05 +0200 |
commit | 6b997bab20448cfe85456e4789d5d9222ab6b830 (patch) | |
tree | 0ab083a91bd6d0be8e2201cec74953fa39c86e97 /drivers/tty/serial/atmel_serial.c | |
parent | Merge branch 'topic/dma_control_fsl_acks' into for-linus (diff) | |
download | linux-6b997bab20448cfe85456e4789d5d9222ab6b830.tar.xz linux-6b997bab20448cfe85456e4789d5d9222ab6b830.zip |
serial: atmel: add missing dmaengine header
The atmel serial driver uses dmaengine APIs but never included the dmaengine
header as it was getting inculded thru one of driver headers.
commit 3d588f83e4d6a5230d9094b97d38621cbaa9a972 - "dmaengine: dw: split
dma-dw.h to platform and private parts" broke this as it moved headers
around. Fix this by doing the right thing to include the dmaengine header
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 08f738be88bb (serial: at91: add tx dma support)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/tty/serial/atmel_serial.c')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 7b63677475c1..d8185c7f476f 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -37,6 +37,7 @@ #include <linux/of_device.h> #include <linux/of_gpio.h> #include <linux/dma-mapping.h> +#include <linux/dmaengine.h> #include <linux/atmel_pdc.h> #include <linux/atmel_serial.h> #include <linux/uaccess.h> |