mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
Hans Verkuil
parent
542e3540dd
commit
e81b60c4a8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user