media: fimc-is: constify pointers to v4l2_pix_format_mplane
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 24 Dec 2023 11:49:13 +0000 (12:49 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 22 Jan 2024 11:16:42 +0000 (12:16 +0100)
commitf157398a2ae98c29f6ad0cbc9269dc0a8a2ef4aa
tree89feeeaae5c0281689b7854788e31130464bbc2a
parent17b8d951b54c7c62e44e13e64ded642dbef5fd34
media: fimc-is: 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-capture.c
drivers/media/platform/samsung/exynos4-is/fimc-isp-video.c
drivers/media/platform/samsung/exynos4-is/fimc-m2m.c