media: atomisp: replace VFL_TYPE_GRABBER by VFL_TYPE_VIDEO

This type was renamed in the past by a more meaningul
name. Change it on atomisp too.

Fixes: 238e4a5baa ("media: rename VFL_TYPE_GRABBER to _VIDEO")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2020-04-19 12:49:32 +02:00
parent 1aeb9583d3
commit e58eeb5a73

View 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);