Skip to content

Commit

Permalink
[media] mc-core.rst: fix a warning about an internal routine
Browse files Browse the repository at this point in the history
Fix this warning:
	Documentation/media/kapi/mc-core.rst:97: WARNING: c:func reference target not found: media_devnode_release

The media_device_release() is a function internal to media-devnode.c,
and not exported elsewhere. So, we can't cross-reference it here.
Make it explicit at the documentation.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
mchehab committed Sep 9, 2016
1 parent c13dce1 commit 82631b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/media/media-devnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ struct media_file_operations {
* @parent: parent device
* @minor: device node minor number
* @flags: flags, combination of the ``MEDIA_FLAG_*`` constants
* @release: release callback called at the end of media_devnode_release()
* @release: release callback called at the end of ``media_devnode_release()``
* routine at media-device.c.
*
* This structure represents a media-related device node.
*
Expand Down

0 comments on commit 82631b5

Please sign in to comment.