From: Lad, Prabhakar <[email protected]>
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 <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Lad, Prabhakar" <[email protected]>
Cc: Sakari Ailus <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Hans Verkuil <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
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 <[email protected]>
*/
+#include <linux/delay.h>
+
#include "dm365_isif.h"
#include "vpfe_mc_capture.h"
--
1.7.0.4