media: rkisp1: resizer: Constify argument and local variables
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 23 Sep 2023 19:49:06 +0000 (22:49 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 12 Oct 2023 07:46:37 +0000 (09:46 +0200)
commit1a6ae627af1477e7dbc081c21102bb5d8889adb1
treeef17f90b864904a93454796bd2c868644d170bd3
parentf4bc9c79a55a40608a405700a574303e4b90b310
media: rkisp1: resizer: Constify argument and local variables

Pointers to v4l2_mbus_framefmt and v4l2_rect instances don't need to be
modified when configuring the resizer. Make them const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/rockchip/rkisp1/rkisp1-resizer.c