diff options
| author | Tomi Valkeinen <[email protected]> | 2023-06-19 11:27:06 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-10 05:58:38 +0000 |
| commit | bb05820e87dc81469efc7262149d2b945a28527a (patch) | |
| tree | c79eb41f7480ebe51b1b9cf3f45b57fa50ef7f58 /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | media: subdev: Drop implicit zeroing of stream field (diff) | |
| download | kernel-bb05820e87dc81469efc7262149d2b945a28527a.tar.gz kernel-bb05820e87dc81469efc7262149d2b945a28527a.zip | |
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 <[email protected]>
Reviewed-by: Jacopo Mondi <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
| -rw-r--r-- | drivers/media/v4l2-core/v4l2-subdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c index c720c9ea899e..ec35e5a90cdf 100644 --- a/drivers/media/v4l2-core/v4l2-subdev.c +++ b/drivers/media/v4l2-core/v4l2-subdev.c @@ -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; |
