mirror of
https://github.com/torvalds/linux.git
synced 2026-08-26 18:04:30 +02: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:
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user