|
@@ -12,10 +12,10 @@
|
|
|
#if IS_REACHABLE(CONFIG_MSM_GLOBAL_SYNX)
|
|
|
#include <synx_api.h>
|
|
|
#endif
|
|
|
-
|
|
|
#include "cam_sync_util.h"
|
|
|
#include "cam_debug_util.h"
|
|
|
#include "cam_common_util.h"
|
|
|
+#include "cam_compat.h"
|
|
|
#include "camera_main.h"
|
|
|
#include "cam_req_mgr_workq.h"
|
|
|
|
|
@@ -1186,9 +1186,8 @@ static int cam_sync_component_bind(struct device *dev,
|
|
|
sync_dev->vdev->ioctl_ops = &g_cam_sync_ioctl_ops;
|
|
|
sync_dev->vdev->minor = -1;
|
|
|
sync_dev->vdev->device_caps |= V4L2_CAP_VIDEO_CAPTURE;
|
|
|
- sync_dev->vdev->vfl_type = VFL_TYPE_GRABBER;
|
|
|
- rc = video_register_device(sync_dev->vdev,
|
|
|
- VFL_TYPE_GRABBER, -1);
|
|
|
+ sync_dev->vdev->vfl_type = VFL_TYPE_VIDEO;
|
|
|
+ rc = video_register_device(sync_dev->vdev, VFL_TYPE_VIDEO, -1);
|
|
|
if (rc < 0) {
|
|
|
CAM_ERR(CAM_SYNC,
|
|
|
"video device registration failure rc = %d, name = %s, device_caps = %d",
|