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