Skip to content

Commit

Permalink
[media] media: Update documentation for media_entity_notify
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shuah Khan authored and Mauro Carvalho Chehab committed Nov 23, 2016
1 parent 90866b3 commit fc64126
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/media/media-device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc64126

Please sign in to comment.