From: Laurent Pinchart Date: Mon, 12 May 2014 23:02:12 +0000 (+0200) Subject: dmaengine: shdmac: Include linux/err.h X-Git-Tag: firefly_0821_release~176^2~3798^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c46b9af26f1a971f7727328ba1cf4d702545cf2f;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Vinod Koul --- 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 #include +#include #include #include #include