media: zoran: use VFL_TYPE_VIDEO
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 25 Sep 2020 18:30:23 +0000 (20:30 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 1 Oct 2020 07:36:48 +0000 (09:36 +0200)
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>
drivers/staging/media/zoran/zoran_card.c

index 93a0817..55315f6 100644 (file)
@@ -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);