mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
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:
parent
1aeb9583d3
commit
e58eeb5a73
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user