summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-05 08:08:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-05 08:08:38 -0300
commite3350f8a84515b83479cd25f1b8c885c0a124c51 (patch)
tree5cefd3b18fa409fdcc5db444cda0c3225adbd9f1 /linux
parent6ec0c26a8ed7aac236c5269763cb2e98b3930688 (diff)
downloadmediapointer-dvb-s2-e3350f8a84515b83479cd25f1b8c885c0a124c51.tar.gz
mediapointer-dvb-s2-e3350f8a84515b83479cd25f1b8c885c0a124c51.tar.bz2
cafe_ccic: use = instead of == for setting a value at a var
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_cam_init': /home/v4l/master/v4l/cafe_ccic.c:778: warning: statement with no effect Priority: high CC: Hans Verkuil <hverkuil@xs4all.nl> CC: saeed bishara <saeed.bishara@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/cafe_ccic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cafe_ccic.c b/linux/drivers/media/video/cafe_ccic.c
index f1119efe6..4b8ecad1b 100644
--- a/linux/drivers/media/video/cafe_ccic.c
+++ b/linux/drivers/media/video/cafe_ccic.c
@@ -775,7 +775,7 @@ static int cafe_cam_init(struct cafe_camera *cam)
ret = __cafe_cam_reset(cam);
if (ret)
goto out;
- chip.ident == V4L2_IDENT_NONE;
+ chip.ident = V4L2_IDENT_NONE;
chip.match.type = V4L2_CHIP_MATCH_I2C_ADDR;
chip.match.addr = cam->sensor_addr;
ret = sensor_call(cam, core, g_chip_ident, &chip);