summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/vidioc-querycap.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 11:53:09 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 12:06:32 -0300
commitcdb4af0fd501df6d918ff4dcde4afa6d9d5bf9d2 (patch)
tree8e93e341464346d0838fda491634e8131fc4e132 /Documentation/linux_tv/media/v4l/vidioc-querycap.rst
parentdd96815f42f702a2bdfd3778e749bb91f7e50683 (diff)
downloadlwn-cdb4af0fd501df6d918ff4dcde4afa6d9d5bf9d2.tar.gz
lwn-cdb4af0fd501df6d918ff4dcde4afa6d9d5bf9d2.zip
doc-rst: linux_tv: Error codes should be const
All error codes should be const. Most are, but there are lots of places where we forgot to add <constant> at the DocBook. Fix those via this small script: for i in $(git grep -lE "\s+E[A-Z]+\b" Documentation/linux_tv/); do perl -ne 's,([^\`])\b(E[A-Z]+)\b,\1``\2``,g; print $_' <$i >a && mv a $i; done As there are false positives, we needed to merge only the changes that make sense, skipping the c blocks and skipping things like EDID, EN, ETS that were also converted by the above code. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media/v4l/vidioc-querycap.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/vidioc-querycap.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-querycap.rst b/Documentation/linux_tv/media/v4l/vidioc-querycap.rst
index 91551fe448fc..0776232be520 100644
--- a/Documentation/linux_tv/media/v4l/vidioc-querycap.rst
+++ b/Documentation/linux_tv/media/v4l/vidioc-querycap.rst
@@ -36,7 +36,7 @@ identify kernel devices compatible with this specification and to obtain
information about driver and hardware capabilities. The ioctl takes a
pointer to a struct :ref:`v4l2_capability <v4l2-capability>` which is
filled by the driver. When the driver is not compatible with this
-specification the ioctl returns an EINVAL error code.
+specification the ioctl returns an ``EINVAL`` error code.
.. _v4l2-capability: