]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] davinci: vpif: remove machine specific header file includes
authorManjunath Hadli <manjunath.hadli@ti.com>
Fri, 23 Dec 2011 06:28:44 +0000 (03:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 8 Feb 2012 12:46:54 +0000 (10:46 -0200)
remove unnecessary inclusion of machine specific header files mach/dm646x.h,
mach/hardware.h from vpif.h  and aslo mach/dm646x.h from vpif_display.c
driver which comes in the way of platform code consolidation.
Add linux/i2c.h header file in vpif_types.h which is required for
building.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: LMML <linux-media@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpif.h
drivers/media/video/davinci/vpif_display.c
include/media/davinci/vpif_types.h

index 25036cb11bea36e41963dac9181cbf701a12ab46..8bcac65f9294e4abc4c886441e887fe0f3b35453 100644 (file)
@@ -18,8 +18,6 @@
 
 #include <linux/io.h>
 #include <linux/videodev2.h>
-#include <mach/hardware.h>
-#include <mach/dm646x.h>
 #include <media/davinci/vpif_types.h>
 
 /* Maximum channel allowed */
index 286f029100447552550d81c5b6c1d6b716fcf8e7..7fa34b4fae26f392c33d55c339a43de31f49edff 100644 (file)
@@ -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"
 
index 9929b05cff3ae46de2256af06af6b43da474db27..bd8217c2577c4cbcf65481056b353ca0981262b8 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef _VPIF_TYPES_H
 #define _VPIF_TYPES_H
 
+#include <linux/i2c.h>
+
 #define VPIF_CAPTURE_MAX_CHANNELS      2
 
 enum vpif_if_type {