diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-05-12 23:02:15 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-06-01 17:26:30 (GMT) |
commit | 494ead469e1b0db060a96627c879fb444fe3970a (patch) | |
tree | a923bd03bc7736d11ae684dba3b19ff9812365c1 /drivers/dma/sh | |
parent | 830c863987aa26c2133241b61fe22bf466ccb7cc (diff) | |
download | linux-494ead469e1b0db060a96627c879fb444fe3970a.tar.xz |
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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh')
-rw-r--r-- | drivers/dma/sh/rcar-hpbdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c index 3083d90..b212d94 100644 --- a/drivers/dma/sh/rcar-hpbdma.c +++ b/drivers/dma/sh/rcar-hpbdma.c @@ -18,6 +18,7 @@ #include <linux/dmaengine.h> #include <linux/delay.h> +#include <linux/err.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> |