serial: atmel: add missing dmaengine header
authorVinod Koul <vinod.koul@intel.com>
Thu, 16 Oct 2014 07:29:06 +0000 (12:59 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 16 Oct 2014 08:38:05 +0000 (14:08 +0530)
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>
drivers/tty/serial/atmel_serial.c

index 7b63677475c1f0cc57f9a5f947d74d66cf9aad81..d8185c7f476f8ba3f1e28c926b656f42921aedb0 100644 (file)
@@ -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>