diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2023-05-05 16:27:49 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 16:21:21 +0200 |
commit | ec178312b81448b30947b2cb66b849e4bf43d941 (patch) | |
tree | 4786e4004c8286b9e02574301b6bd84713621485 /include/media | |
parent | 71511a24eeec900b1a7e81b5f141c95313624ade (diff) |
media: mc: Make media_entity_get_fwnode_pad() fwnode argument const
fwnode_graph_parse_endpoint() fwnode argument is now const, therefore make
media_entity_get_fwnode_pad() fwnode argument const as well.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/media-entity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h index 741f9c629c6f..452d9c9bea54 100644 --- a/include/media/media-entity.h +++ b/include/media/media-entity.h @@ -1079,7 +1079,7 @@ struct media_pipeline *media_pad_pipeline(struct media_pad *pad); * Return: returns the pad number on success or a negative error code. */ int media_entity_get_fwnode_pad(struct media_entity *entity, - struct fwnode_handle *fwnode, + const struct fwnode_handle *fwnode, unsigned long direction_flags); /** |