summaryrefslogtreecommitdiffstats
path: root/include/media/mt9p031.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-09 10:42:52 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 13:32:22 -0300
commit1c542ba85461f4f4f456eeee4fa7e90a3d138c6a (patch)
tree987d4a258766c779fe124b9d76268166e407f8ab /include/media/mt9p031.h
parentd281c1f1443b36890c35de71d9fdaa5cd3899003 (diff)
downloadop-kernel-dev-1c542ba85461f4f4f456eeee4fa7e90a3d138c6a.zip
op-kernel-dev-1c542ba85461f4f4f456eeee4fa7e90a3d138c6a.tar.gz
[media] mt9p031: Identify color/mono models using I2C device name
Instead of passing a color/monochrome flag through platform data, rely on the I2C device name to identify the chip model. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/mt9p031.h')
-rw-r--r--include/media/mt9p031.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/media/mt9p031.h b/include/media/mt9p031.h
index 96448c7..5b5090f 100644
--- a/include/media/mt9p031.h
+++ b/include/media/mt9p031.h
@@ -3,17 +3,11 @@
struct v4l2_subdev;
-enum {
- MT9P031_COLOR_VERSION,
- MT9P031_MONOCHROME_VERSION,
-};
-
struct mt9p031_platform_data {
int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
int (*reset)(struct v4l2_subdev *subdev, int active);
int ext_freq; /* input frequency to the mt9p031 for PLL dividers */
int target_freq; /* frequency target for the PLL */
- int version; /* MT9P031_COLOR_VERSION or MT9P031_MONOCHROME_VERSION */
};
#endif
OpenPOWER on IntegriCloud