From c46b9af26f1a971f7727328ba1cf4d702545cf2f Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 13 May 2014 01:02:12 +0200 Subject: [PATCH] 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 --- drivers/dma/sh/shdmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index 7313537..146d5df 100644 --- a/drivers/dma/sh/shdmac.c +++ b/drivers/dma/sh/shdmac.c @@ -20,6 +20,7 @@ #include #include +#include #include #include #include -- 2.7.4