diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-05-13 01:02:12 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-06-01 22:56:30 +0530 |
commit | c46b9af26f1a971f7727328ba1cf4d702545cf2f (patch) | |
tree | eac6a68fccec47d7ffa4738e30b235ad03ba8e73 /drivers/dma | |
parent | a5cdc1c15562c0c68e7c418693f3f884ec838a06 (diff) | |
download | linux-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.c | 1 |
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> |