diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-04-27 11:31:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:43:50 -0400 |
commit | 74cab31c413c8615efe818d44ff4ac83e2a138be (patch) | |
tree | 036e32f1b1a928901f6f2ab4b9921c39aa8de82c /drivers/media/video/upd64083.c | |
parent | 1a0adaf37c30e89e44d1470ef604a930999a5826 (diff) |
V4L/DVB (5355): Add VIDIOC_G_CHIP_IDENT to various i2c modules
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/upd64083.c')
-rw-r--r-- | drivers/media/video/upd64083.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/upd64083.c b/drivers/media/video/upd64083.c index fe38224150d8..401bd21f46eb 100644 --- a/drivers/media/video/upd64083.c +++ b/drivers/media/video/upd64083.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/i2c.h> | 26 | #include <linux/i2c.h> |
27 | #include <linux/videodev2.h> | 27 | #include <linux/videodev2.h> |
28 | #include <media/v4l2-common.h> | 28 | #include <media/v4l2-common.h> |
29 | #include <media/v4l2-chip-ident.h> | ||
29 | #include <media/upd64083.h> | 30 | #include <media/upd64083.h> |
30 | 31 | ||
31 | MODULE_DESCRIPTION("uPD64083 driver"); | 32 | MODULE_DESCRIPTION("uPD64083 driver"); |
@@ -155,6 +156,10 @@ static int upd64083_command(struct i2c_client *client, unsigned int cmd, void *a | |||
155 | break; | 156 | break; |
156 | } | 157 | } |
157 | #endif | 158 | #endif |
159 | |||
160 | case VIDIOC_G_CHIP_IDENT: | ||
161 | return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_UPD64083, 0); | ||
162 | |||
158 | default: | 163 | default: |
159 | break; | 164 | break; |
160 | } | 165 | } |