summaryrefslogtreecommitdiff
path: root/include/media/media-device.h
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-03-14 19:24:25 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-23 13:45:13 -0200
commitfc641261e1227ed7d083d55c8b47f3e9cd173681 (patch)
tree5bc8ba1583901c2b30dd53d55262cb4f7a483eac /include/media/media-device.h
parent90866b3a8011703d87d9ea263ef29a194453a898 (diff)
downloadlwn-fc641261e1227ed7d083d55c8b47f3e9cd173681.tar.gz
lwn-fc641261e1227ed7d083d55c8b47f3e9cd173681.zip
[media] media: Update documentation for media_entity_notify
Update documentation for media_entity_notify to clearly state the usage restrictions. This handler is intended for creating links between exiting entities and should not used to create and register entities. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/media-device.h')
-rw-r--r--include/media/media-device.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/media-device.h b/include/media/media-device.h
index ef93e21335df..a267f9ceee8f 100644
--- a/include/media/media-device.h
+++ b/include/media/media-device.h
@@ -39,8 +39,10 @@ struct device;
* @notify_data: Input data to invoke the callback
* @notify: Callback function pointer
*
- * Drivers may register a callback to take action when
- * new entities get registered with the media device.
+ * Drivers may register a callback to take action when new entities get
+ * registered with the media device. This handler is intended for creating
+ * links between existing entities and should not create entities and register
+ * them.
*/
struct media_entity_notify {
struct list_head list;