diff options
author | Hans Verkuil | 2013-05-29 11:59:44 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2013-06-17 13:46:34 +0200 |
commit | 7486af1ae3ee34b12fcff1b1ce3a9cc6a2eca03a (patch) | |
tree | b530832a93119bb6852431769843a9364fe5ad70 /drivers/media/platform/marvell-ccic/mmp-driver.c | |
parent | [media] cx231xx: remove g_chip_ident (diff) | |
download | kernel-qcow2-linux-7486af1ae3ee34b12fcff1b1ce3a9cc6a2eca03a.tar.gz kernel-qcow2-linux-7486af1ae3ee34b12fcff1b1ce3a9cc6a2eca03a.tar.xz kernel-qcow2-linux-7486af1ae3ee34b12fcff1b1ce3a9cc6a2eca03a.zip |
[media] marvell-ccic: remove g_chip_ident
Remove g_chip_ident. This driver used some of the V4L2_IDENT defines, replace
those with a driver-specific enum. This makes it possible to drop the
v4l2-chip-ident.h define as well.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/marvell-ccic/mmp-driver.c')
-rw-r--r-- | drivers/media/platform/marvell-ccic/mmp-driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/marvell-ccic/mmp-driver.c b/drivers/media/platform/marvell-ccic/mmp-driver.c index c4c17fe76c0d..cadad647ce0e 100644 --- a/drivers/media/platform/marvell-ccic/mmp-driver.c +++ b/drivers/media/platform/marvell-ccic/mmp-driver.c @@ -18,7 +18,6 @@ #include <linux/slab.h> #include <linux/videodev2.h> #include <media/v4l2-device.h> -#include <media/v4l2-chip-ident.h> #include <media/mmp-camera.h> #include <linux/device.h> #include <linux/platform_device.h> @@ -185,7 +184,7 @@ static int mmpcam_probe(struct platform_device *pdev) mcam->plat_power_down = mmpcam_power_down; mcam->dev = &pdev->dev; mcam->use_smbus = 0; - mcam->chip_id = V4L2_IDENT_ARMADA610; + mcam->chip_id = MCAM_ARMADA610; mcam->buffer_mode = B_DMA_sg; spin_lock_init(&mcam->dev_lock); /* |