From: Laurent Pinchart Date: Mon, 12 May 2014 23:02:14 +0000 (+0200) Subject: dmaengine: sudmac: Include linux/err.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=830c863987aa26c2133241b61fe22bf466ccb7cc;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c index b5b7e54ac845..3ce103909896 100644 --- a/drivers/dma/sh/sudmac.c +++ b/drivers/dma/sh/sudmac.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include