forked from Minki/linux
[media] davinci: vpif: remove machine specific header file includes
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>
This commit is contained in:
parent
260a8f7b06
commit
db38951cce
@ -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 */
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user