summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-13 01:02:12 +0200
committerVinod Koul <vinod.koul@intel.com>2014-06-01 22:56:30 +0530
commitc46b9af26f1a971f7727328ba1cf4d702545cf2f (patch)
treeeac6a68fccec47d7ffa4738e30b235ad03ba8e73 /drivers/dma
parenta5cdc1c15562c0c68e7c418693f3f884ec838a06 (diff)
downloadlinux-stable-c46b9af26f1a971f7727328ba1cf4d702545cf2f.tar.gz
linux-stable-c46b9af26f1a971f7727328ba1cf4d702545cf2f.tar.bz2
linux-stable-c46b9af26f1a971f7727328ba1cf4d702545cf2f.zip
dmaengine: shdmac: 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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/sh/shdmac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c
index 7313537e5c54..146d5df926db 100644
--- a/drivers/dma/sh/shdmac.c
+++ b/drivers/dma/sh/shdmac.c
@@ -20,6 +20,7 @@
#include <linux/delay.h>
#include <linux/dmaengine.h>
+#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kdebug.h>