mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
media: zoran: use VFL_TYPE_VIDEO
The VFL_TYPE_GRABBER type was removed, so let's use the new type. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
72b23dd245
commit
3f2c342362
@@ -962,7 +962,7 @@ static int zr36057_init(struct zoran *zr)
|
||||
* another day.
|
||||
*/
|
||||
zr->video_dev->vfl_dir = VFL_DIR_M2M;
|
||||
err = video_register_device(zr->video_dev, VFL_TYPE_GRABBER, video_nr[zr->id]);
|
||||
err = video_register_device(zr->video_dev, VFL_TYPE_VIDEO, video_nr[zr->id]);
|
||||
if (err < 0)
|
||||
goto exit_free;
|
||||
video_set_drvdata(zr->video_dev, zr);
|
||||
|
||||
Reference in New Issue
Block a user