]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] doc-rst: fix some lirc cross-references
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 09:12:32 +0000 (06:12 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 09:12:32 +0000 (06:12 -0300)
Some references were broken. It was also mentioning LIRC_MODE_RAW,
with it is not implemented on current LIRC drivers.

So, fix the references.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/rc/lirc-get-features.rst
Documentation/media/uapi/rc/lirc-get-send-mode.rst
Documentation/media/uapi/rc/lirc_read.rst
Documentation/media/uapi/rc/lirc_write.rst

index d89712190d430bb1f81abd7fd83d8a092f92372c..e763ebfb2cb1c6bdb59e25e1af7b0693b01a2b2a 100644 (file)
@@ -44,8 +44,7 @@ LIRC features
 
 ``LIRC_CAN_REC_RAW``
 
-    The driver is capable of receiving using
-    :ref:`LIRC_MODE_RAW <lirc-mode-raw>`.
+    Unused. Kept just to avoid breaking uAPI.
 
 .. _LIRC-CAN-REC-PULSE:
 
@@ -153,7 +152,7 @@ LIRC features
 
 ``LIRC_CAN_SEND_RAW``
 
-    The driver supports sending using :ref:`LIRC_MODE_RAW <lirc-mode-raw>`.
+    Unused. Kept just to avoid breaking uAPI.
 
 .. _LIRC-CAN-SEND-PULSE:
 
index f58f0953851c5941358c4031051c803e6333ae1b..f3fd310a8d7cd60f48e4392ffde449de6e19fa51 100644 (file)
@@ -38,7 +38,7 @@ Get supported transmit mode.
 
 Currently, only ``LIRC_MODE_PULSE`` is supported by lircd on TX. On
 puse mode, a sequence of pulse/space integer values are written to the
-lirc device using ``write()``.
+lirc device using :Ref:`lirc-write`.
 
 Return Value
 ============
index 37f164f7526af16fcc85be07cabfbbcacc0baadd..a8f1b446c29451eb915d17a96ac61e19f6f8659c 100644 (file)
@@ -1,6 +1,6 @@
 .. -*- coding: utf-8; mode: rst -*-
 
-.. _lirc_read:
+.. _lirc-read:
 
 ***********
 LIRC read()
index e27bda30afcc065890d3ca99cc83cec0977cc7c9..dcba3b1bee6ec1f397de0d59f942d74c797fda97 100644 (file)
@@ -1,6 +1,6 @@
 .. -*- coding: utf-8; mode: rst -*-
 
-.. _lirc_write:
+.. _lirc-write:
 
 ************
 LIRC write()
@@ -36,7 +36,7 @@ Arguments
 Description
 ===========
 
-:ref:`write() <func-write>` writes up to ``count`` bytes to the device
+:ref:`write() <lirc-write>` writes up to ``count`` bytes to the device
 referenced by the file descriptor ``fd`` from the buffer starting at
 ``buf``.