mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
media: Make parameter of media_entity_remote_pad() const
The local pad parameter in media_entity_remote_pad() is not modified. Make that explicit by adding a const modifier. Signed-off-by: Todor Tomov <todor.tomov@linaro.org> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
b5e0733ffc
commit
6538b02d21
2 changed files with 2 additions and 2 deletions
|
@ -917,7 +917,7 @@ media_entity_find_link(struct media_pad *source, struct media_pad *sink)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(media_entity_find_link);
|
EXPORT_SYMBOL_GPL(media_entity_find_link);
|
||||||
|
|
||||||
struct media_pad *media_entity_remote_pad(struct media_pad *pad)
|
struct media_pad *media_entity_remote_pad(const struct media_pad *pad)
|
||||||
{
|
{
|
||||||
struct media_link *link;
|
struct media_link *link;
|
||||||
|
|
||||||
|
|
|
@ -805,7 +805,7 @@ struct media_link *media_entity_find_link(struct media_pad *source,
|
||||||
* Return: returns a pointer to the pad at the remote end of the first found
|
* Return: returns a pointer to the pad at the remote end of the first found
|
||||||
* enabled link, or %NULL if no enabled link has been found.
|
* enabled link, or %NULL if no enabled link has been found.
|
||||||
*/
|
*/
|
||||||
struct media_pad *media_entity_remote_pad(struct media_pad *pad);
|
struct media_pad *media_entity_remote_pad(const struct media_pad *pad);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* media_entity_get - Get a reference to the parent module
|
* media_entity_get - Get a reference to the parent module
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue