[media] v4l2: make vidioc_s_modulator const
Write-only ioctls should have a const argument in the ioctl op. Do this conversion for vidioc_s_modulator. Adding const for write-only ioctls was decided during the 2012 Media Workshop. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
ba9425bce9
commit
3f70e1f598
@@ -194,7 +194,7 @@ struct v4l2_subdev_tuner_ops {
|
||||
int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
|
||||
int (*s_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
|
||||
int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
|
||||
int (*s_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
|
||||
int (*s_modulator)(struct v4l2_subdev *sd, const struct v4l2_modulator *vm);
|
||||
int (*s_type_addr)(struct v4l2_subdev *sd, struct tuner_setup *type);
|
||||
int (*s_config)(struct v4l2_subdev *sd, const struct v4l2_priv_tun_config *config);
|
||||
};
|
||||
|
Reference in New Issue
Block a user