diff options
Diffstat (limited to 'drivers/media/video/v4l2-dev.c')
-rw-r--r-- | drivers/media/video/v4l2-dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/v4l2-dev.c b/drivers/media/video/v4l2-dev.c index 88eeee1d8baf..556615fe93de 100644 --- a/drivers/media/video/v4l2-dev.c +++ b/drivers/media/video/v4l2-dev.c | |||
@@ -302,6 +302,7 @@ int video_register_device_index(struct video_device *vfd, int type, int nr, | |||
302 | } | 302 | } |
303 | } | 303 | } |
304 | video_device[i] = vfd; | 304 | video_device[i] = vfd; |
305 | vfd->vfl_type = type; | ||
305 | vfd->minor = i; | 306 | vfd->minor = i; |
306 | 307 | ||
307 | ret = get_index(vfd, index); | 308 | ret = get_index(vfd, index); |