media: iris: Constify iris_v4l2_file_ops

The iris_v4l2_file_ops structure is never modified. Make it const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
[bod: drop qcom from patch title for consistency with other patches]
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
Laurent Pinchart
2025-10-26 20:11:38 +02:00
committed by Hans Verkuil
parent 542e3540dd
commit e81b60c4a8

View File

@@ -630,7 +630,7 @@ unlock:
return ret;
}
static struct v4l2_file_operations iris_v4l2_file_ops = {
static const struct v4l2_file_operations iris_v4l2_file_ops = {
.owner = THIS_MODULE,
.open = iris_open,
.release = iris_close,