summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorTodor Tomov <todor.tomov@linaro.org>2017-07-03 15:08:11 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-07-20 23:54:04 +0300
commit6538b02d210f52ef2a2e67d59fcb58be98451fbd (patch)
tree2899b4f7345cde177449f6ddc62eee73da7516ab /include/media
parentb5e0733ffca70c1b9169791be1166513d89db2d9 (diff)
downloadlinux-6538b02d210f52ef2a2e67d59fcb58be98451fbd.tar.xz
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>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/media-entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index 754182d29668..222d379960b7 100644
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -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
* 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