Commit e58eeb5a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: 238e4a5b ("media: rename VFL_TYPE_GRABBER to _VIDEO")
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 1aeb9583
...@@ -163,7 +163,7 @@ int atomisp_video_register(struct atomisp_video_pipe *video, ...@@ -163,7 +163,7 @@ int atomisp_video_register(struct atomisp_video_pipe *video,
video->vdev.v4l2_dev = vdev; 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) if (ret < 0)
dev_err(vdev->dev, "%s: could not register video device (%d)\n", dev_err(vdev->dev, "%s: could not register video device (%d)\n",
__func__, ret); __func__, ret);
...@@ -178,7 +178,7 @@ int atomisp_acc_register(struct atomisp_acc_pipe *video, ...@@ -178,7 +178,7 @@ int atomisp_acc_register(struct atomisp_acc_pipe *video,
video->vdev.v4l2_dev = vdev; 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) if (ret < 0)
dev_err(vdev->dev, "%s: could not register video device (%d)\n", dev_err(vdev->dev, "%s: could not register video device (%d)\n",
__func__, ret); __func__, ret);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment