media: s5p-mfc: constify pointers to s5p_mfc_cmd_args
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 24 Dec 2023 15:44:10 +0000 (16:44 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 22 Jan 2024 11:16:43 +0000 (12:16 +0100)
commit60a2a86fb8277ba2b8d26cd49222e92fea36a196
treea1f77279c7105e37b11e26da1717a9fa5c53de61
parent4b9f9109690f6263c75693e1a5759abf86a0f7ce
media: s5p-mfc: constify pointers to s5p_mfc_cmd_args

In few places functions do not modify pointed "struct
s5p_mfc_cmd_args", 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/s5p-mfc/s5p_mfc_cmd.h
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd_v5.c
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd_v6.c