summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/func-poll.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 13:28:28 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 13:40:22 -0300
commitacf309a2d5005d4073d3148a65f733a40b06d546 (patch)
treeddd3a82874328bcca2df5f18e6df881590eefcc1 /Documentation/linux_tv/media/v4l/func-poll.rst
parentcdb4af0fd501df6d918ff4dcde4afa6d9d5bf9d2 (diff)
downloadlwn-acf309a2d5005d4073d3148a65f733a40b06d546.tar.gz
lwn-acf309a2d5005d4073d3148a65f733a40b06d546.zip
doc-rst: linux_tv: use references for structures
On several places, instead of using references, the code was using some other tag. Not sure if this was due to the conversion, or if something were already wrong on the DocBook. In any case, let's fix them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media/v4l/func-poll.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/func-poll.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/linux_tv/media/v4l/func-poll.rst b/Documentation/linux_tv/media/v4l/func-poll.rst
index 2de7f8a3a971..3e96d9b0ce38 100644
--- a/Documentation/linux_tv/media/v4l/func-poll.rst
+++ b/Documentation/linux_tv/media/v4l/func-poll.rst
@@ -39,7 +39,7 @@ returns immediately.
On success :c:func:`poll()` returns the number of file descriptors
that have been selected (that is, file descriptors for which the
-``revents`` field of the respective :c:type:`struct pollfd` structure
+``revents`` field of the respective :c:func:`struct pollfd` structure
is non-zero). Capture devices set the ``POLLIN`` and ``POLLRDNORM``
flags in the ``revents`` field, output devices the ``POLLOUT`` and
``POLLWRNORM`` flags. When the function timed out it returns a value of