media: fimc-lite: constify pointers to v4l2_pix_format_mplane
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 24 Dec 2023 11:49:07 +0000 (12:49 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 22 Jan 2024 11:16:42 +0000 (12:16 +0100)
commit185bc53683674f6bc2c1dafc93c6cc464ec31748
treef2b15e77a99597d1b97e5cbfc2d432fb1ea6b7a4
parentf4036d7eaeb17697c3a012c33e694e12256a6e07
media: fimc-lite: constify pointers to v4l2_pix_format_mplane

In few places functions do not modify pointed "struct
v4l2_pix_format_mplane", thus the pointer can point to const data for
additional safety and self-documenting intention of the function.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/samsung/exynos4-is/fimc-lite.c