Skip to content

Commit

Permalink
[media] davinci: vpif: remove machine specific header file includes
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: LMML <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Manjunath Hadli authored and Mauro Carvalho Chehab committed Feb 8, 2012
1 parent 260a8f7 commit db38951
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/davinci/vpif.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 0 additions & 2 deletions drivers/media/video/davinci/vpif_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions include/media/davinci/vpif_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit db38951

Please sign in to comment.