dmaengine: shdmac: Include linux/err.h
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 12 May 2014 23:02:12 +0000 (01:02 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 1 Jun 2014 17:26:30 +0000 (22:56 +0530)
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>
drivers/dma/sh/shdmac.c

index 7313537e5c545ad6ecde3327a798102b0f893fcf..146d5df926db00364429cbe75ce9ff84e9dddf46 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/delay.h>
 #include <linux/dmaengine.h>
+#include <linux/err.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/kdebug.h>