Commit bb05820e authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Mauro Carvalho Chehab

media: subdev: Constify v4l2_subdev_set_routing_with_fmt() param

The routing parameter of v4l2_subdev_set_routing_with_fmt() is missing
'const'. Add it.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: default avatarJacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent bb15c827
...@@ -1602,7 +1602,7 @@ EXPORT_SYMBOL_GPL(__v4l2_subdev_next_active_route); ...@@ -1602,7 +1602,7 @@ EXPORT_SYMBOL_GPL(__v4l2_subdev_next_active_route);
int v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev *sd, int v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev *sd,
struct v4l2_subdev_state *state, struct v4l2_subdev_state *state,
struct v4l2_subdev_krouting *routing, const struct v4l2_subdev_krouting *routing,
const struct v4l2_mbus_framefmt *fmt) const struct v4l2_mbus_framefmt *fmt)
{ {
struct v4l2_subdev_stream_configs *stream_configs; struct v4l2_subdev_stream_configs *stream_configs;
......
...@@ -1535,7 +1535,7 @@ __v4l2_subdev_next_active_route(const struct v4l2_subdev_krouting *routing, ...@@ -1535,7 +1535,7 @@ __v4l2_subdev_next_active_route(const struct v4l2_subdev_krouting *routing,
*/ */
int v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev *sd, int v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev *sd,
struct v4l2_subdev_state *state, struct v4l2_subdev_state *state,
struct v4l2_subdev_krouting *routing, const struct v4l2_subdev_krouting *routing,
const struct v4l2_mbus_framefmt *fmt); const struct v4l2_mbus_framefmt *fmt);
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment