summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-13 01:02:14 +0200
committerVinod Koul <vinod.koul@intel.com>2014-06-01 22:56:30 +0530
commit830c863987aa26c2133241b61fe22bf466ccb7cc (patch)
tree60b1af7eede7ec1e614eef655302a280e2a04fe6
parentcf5a23b78717bb547ab6c9267f05d4fe803bd853 (diff)
downloadop-kernel-dev-830c863987aa26c2133241b61fe22bf466ccb7cc.zip
op-kernel-dev-830c863987aa26c2133241b61fe22bf466ccb7cc.tar.gz
dmaengine: sudmac: Include linux/err.h
linux/err.h isn't implicitly included by the current headers on all platforms, resulting in compilation failures due to implicit declarations of IS_ERR and PTR_ERR. Fix this by including linux/err.h. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/sh/sudmac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c
index b5b7e54..3ce1039 100644
--- a/drivers/dma/sh/sudmac.c
+++ b/drivers/dma/sh/sudmac.c
@@ -15,6 +15,7 @@
*/
#include <linux/dmaengine.h>
+#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
OpenPOWER on IntegriCloud