[PATCH] media: staging: davinci_vpfe: fix build error

Prabhakar Lad prabhakar.csengg at gmail.com
Sun Mar 17 13:32:30 UTC 2013


From: Lad, Prabhakar <prabhakar.csengg at gmail.com>

add missing header file delay.h required for msleep().
This patch fixes following build error:

drivers/staging/media/davinci_vpfe/dm365_isif.c: In function 'isif_enable':
drivers/staging/media/davinci_vpfe/dm365_isif.c:129: error: implicit declaration of function 'msleep'
make[4]: *** [drivers/staging/media/davinci_vpfe/dm365_isif.o] Error 1

Signed-off-by: Lad, Prabhakar <prabhakar.csengg at gmail.com>
Cc: Mauro Carvalho Chehab <mchehab at redhat.com>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: "Lad, Prabhakar" <prabhakar.csengg at gmail.com>
Cc: Sakari Ailus <sakari.ailus at iki.fi>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: Hans Verkuil <hans.verkuil at cisco.com>
Cc: devel at driverdev.osuosl.org
Cc: linux-kernel at vger.kernel.org
---
 drivers/staging/media/davinci_vpfe/dm365_isif.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.c b/drivers/staging/media/davinci_vpfe/dm365_isif.c
index ebeea72..e4e6fcc 100644
--- a/drivers/staging/media/davinci_vpfe/dm365_isif.c
+++ b/drivers/staging/media/davinci_vpfe/dm365_isif.c
@@ -19,6 +19,8 @@
  *      Prabhakar Lad <prabhakar.lad at ti.com>
  */
 
+#include <linux/delay.h>
+
 #include "dm365_isif.h"
 #include "vpfe_mc_capture.h"
 
-- 
1.7.0.4




More information about the devel mailing list