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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);