diff options
Diffstat (limited to 'drivers/media/video/upd64031a.c')
-rw-r--r-- | drivers/media/video/upd64031a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/upd64031a.c b/drivers/media/video/upd64031a.c index 28d1133a3b7a..0b2a961efd22 100644 --- a/drivers/media/video/upd64031a.c +++ b/drivers/media/video/upd64031a.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/i2c.h> | 27 | #include <linux/i2c.h> |
28 | #include <linux/videodev2.h> | 28 | #include <linux/videodev2.h> |
29 | #include <media/v4l2-common.h> | 29 | #include <media/v4l2-common.h> |
30 | #include <media/v4l2-chip-ident.h> | ||
30 | #include <media/upd64031a.h> | 31 | #include <media/upd64031a.h> |
31 | 32 | ||
32 | // --------------------- read registers functions define ----------------------- | 33 | // --------------------- read registers functions define ----------------------- |
@@ -179,6 +180,9 @@ static int upd64031a_command(struct i2c_client *client, unsigned int cmd, void * | |||
179 | } | 180 | } |
180 | #endif | 181 | #endif |
181 | 182 | ||
183 | case VIDIOC_G_CHIP_IDENT: | ||
184 | return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_UPD64031A, 0); | ||
185 | |||
182 | default: | 186 | default: |
183 | break; | 187 | break; |
184 | } | 188 | } |