mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-23 18:14:04 +08:00
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: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
bb15c827b3
commit
bb05820e87
@ -1602,7 +1602,7 @@ EXPORT_SYMBOL_GPL(__v4l2_subdev_next_active_route);
|
||||
|
||||
int v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *state,
|
||||
struct v4l2_subdev_krouting *routing,
|
||||
const struct v4l2_subdev_krouting *routing,
|
||||
const struct v4l2_mbus_framefmt *fmt)
|
||||
{
|
||||
struct v4l2_subdev_stream_configs *stream_configs;
|
||||
|
@ -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,
|
||||
struct v4l2_subdev_state *state,
|
||||
struct v4l2_subdev_krouting *routing,
|
||||
const struct v4l2_subdev_krouting *routing,
|
||||
const struct v4l2_mbus_framefmt *fmt);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user