]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: imx-mipi-csis: Standardize const keyword placement
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 22 Aug 2025 00:27:23 +0000 (03:27 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Sun, 31 Aug 2025 09:10:06 +0000 (11:10 +0200)
The const keyword for pointer variables is placed before the type
everywhere except in one location. Change it to improve consistency.

No functional change is intended.

Link: https://lore.kernel.org/r/20250822002734.23516-4-laurent.pinchart@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/nxp/imx-mipi-csis.c

index 46f93cd677e32812d85a217105545ff2b7095eb4..0f08630112303663ecaeffbc8a5affd23bfef24c 100644 (file)
@@ -1029,7 +1029,7 @@ static int mipi_csis_set_fmt(struct v4l2_subdev *sd,
                             struct v4l2_subdev_state *sd_state,
                             struct v4l2_subdev_format *sdformat)
 {
-       struct csis_pix_format const *csis_fmt;
+       const struct csis_pix_format *csis_fmt;
        struct v4l2_mbus_framefmt *fmt;
        unsigned int align;