From: Corentin Labbe Date: Fri, 25 Sep 2020 18:30:23 +0000 (+0200) Subject: media: zoran: use VFL_TYPE_VIDEO X-Git-Tag: v5.10-rc1~175^2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f2c3423627c6cfd30eb24c0dfdde4c9a47a830c;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c index 93a0817a39365..55315f67b3b9d 100644 --- a/drivers/staging/media/zoran/zoran_card.c +++ b/drivers/staging/media/zoran/zoran_card.c @@ -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);