[PATCH v4 1/5] davinci: vpif: remove obsolete header file inclusion

Manjunath Hadli manjunath.hadli at ti.com
Thu Dec 8 08:55:24 EST 2011


remove inclusion of header files from vpif.h and vpif_dispaly.c
and add appropriate header file for building.

Signed-off-by: Manjunath Hadli <manjunath.hadli at ti.com>
---
 drivers/media/video/davinci/vpif.h         |    2 +-
 drivers/media/video/davinci/vpif_display.c |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/davinci/vpif.h b/drivers/media/video/davinci/vpif.h
index 25036cb..c96268a 100644
--- a/drivers/media/video/davinci/vpif.h
+++ b/drivers/media/video/davinci/vpif.h
@@ -19,7 +19,7 @@
 #include <linux/io.h>
 #include <linux/videodev2.h>
 #include <mach/hardware.h>
-#include <mach/dm646x.h>
+#include <linux/i2c.h>
 #include <media/davinci/vpif_types.h>
 
 /* Maximum channel allowed */
diff --git a/drivers/media/video/davinci/vpif_display.c b/drivers/media/video/davinci/vpif_display.c
index 286f029..7fa34b4 100644
--- a/drivers/media/video/davinci/vpif_display.c
+++ b/drivers/media/video/davinci/vpif_display.c
@@ -39,8 +39,6 @@
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-chip-ident.h>
 
-#include <mach/dm646x.h>
-
 #include "vpif_display.h"
 #include "vpif.h"
 
-- 
1.6.2.4




More information about the linux-arm-kernel mailing list