media: atomisp: replace VFL_TYPE_GRABBER by VFL_TYPE_VIDEO
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Apr 2020 10:49:32 +0000 (12:49 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:14 +0000 (12:32 +0200)
This type was renamed in the past by a more meaningul
name. Change it on atomisp too.

Fixes: 238e4a5baa36 ("media: rename VFL_TYPE_GRABBER to _VIDEO")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c

index aaae663cc218ebab9148846b8acb4642351d4f89..9e4f5cc153a242e97ab90417d02e2ed340ab4558 100644 (file)
@@ -163,7 +163,7 @@ int atomisp_video_register(struct atomisp_video_pipe *video,
 
        video->vdev.v4l2_dev = vdev;
 
-       ret = video_register_device(&video->vdev, VFL_TYPE_GRABBER, -1);
+       ret = video_register_device(&video->vdev, VFL_TYPE_VIDEO, -1);
        if (ret < 0)
                dev_err(vdev->dev, "%s: could not register video device (%d)\n",
                        __func__, ret);
@@ -178,7 +178,7 @@ int atomisp_acc_register(struct atomisp_acc_pipe *video,
 
        video->vdev.v4l2_dev = vdev;
 
-       ret = video_register_device(&video->vdev, VFL_TYPE_GRABBER, -1);
+       ret = video_register_device(&video->vdev, VFL_TYPE_VIDEO, -1);
        if (ret < 0)
                dev_err(vdev->dev, "%s: could not register video device (%d)\n",
                        __func__, ret);