summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-29 21:03:00 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 14:23:10 +0200
commit3c7d91eff7dc9477a00b8c692ffa0ccf9e84517d (patch)
treee60ac72b7beda74a75802f03b7ca641a28ed55c9 /Documentation/media
parent[media] demux.h: Fix a few documentation issues (diff)
downloadlinux-3c7d91eff7dc9477a00b8c692ffa0ccf9e84517d.tar.xz
linux-3c7d91eff7dc9477a00b8c692ffa0ccf9e84517d.zip
[media] mc-core.rst: Fix cross-references to the source
The cross-reference to "struct media_pad" was pointing to a place that doesn't exist. Fix it, and adjust the second reference on the same paragraph to use the same text. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/kapi/mc-core.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/media/kapi/mc-core.rst b/Documentation/media/kapi/mc-core.rst
index 569cfc4f01cd..fb839a6c1f46 100644
--- a/Documentation/media/kapi/mc-core.rst
+++ b/Documentation/media/kapi/mc-core.rst
@@ -85,8 +85,9 @@ a driver-specific structure.
Pads are identified by their entity and their 0-based index in the pads
array.
-Both information are stored in the :c:type:`struct media_pad`, making the
-:c:type:`media_pad` pointer the canonical way to store and pass link references.
+Both information are stored in the :c:type:`struct media_pad <media_pad>`,
+making the :c:type:`struct media_pad <media_pad>` pointer the canonical way
+to store and pass link references.
Pads have flags that describe the pad capabilities and state.