diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-10-16 07:29:06 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-10-16 08:38:05 (GMT) |
commit | 6b997bab20448cfe85456e4789d5d9222ab6b830 (patch) | |
tree | 0ab083a91bd6d0be8e2201cec74953fa39c86e97 | |
parent | cf6c0ab54daeb614ae79bdd0168e8b7ec2650134 (diff) | |
download | linux-6b997bab20448cfe85456e4789d5d9222ab6b830.tar.xz |
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>
-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 7b63677..d8185c7 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> |