From: Laurent Pinchart Date: Mon, 12 May 2014 23:02:15 +0000 (+0200) Subject: dmaengine: rcar-hpbdma: Include linux/err.h X-Git-Tag: v4.13~7235^2~8 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=494ead469e1b0db060a96627c879fb444fe3970a;p=mirror_ubuntu-bionic-kernel.git dmaengine: rcar-hpbdma: 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/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c index 3083d901a414..b212d9471ab5 100644 --- a/drivers/dma/sh/rcar-hpbdma.c +++ b/drivers/dma/sh/rcar-hpbdma.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include