|
@@ -1706,7 +1706,7 @@ static long ccdc_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
|
|
}
|
|
|
|
|
|
static int ccdc_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
|
|
|
- const struct v4l2_event_subscription *sub)
|
|
|
+ struct v4l2_event_subscription *sub)
|
|
|
{
|
|
|
if (sub->type != V4L2_EVENT_FRAME_SYNC)
|
|
|
return -EINVAL;
|
|
@@ -1719,7 +1719,7 @@ static int ccdc_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
|
|
|
}
|
|
|
|
|
|
static int ccdc_unsubscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
|
|
|
- const struct v4l2_event_subscription *sub)
|
|
|
+ struct v4l2_event_subscription *sub)
|
|
|
{
|
|
|
return v4l2_event_unsubscribe(fh, sub);
|
|
|
}
|