From: Mauro Carvalho Chehab Date: Tue, 12 Jul 2016 09:12:32 +0000 (-0300) Subject: [media] doc-rst: fix some lirc cross-references X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4ed030af4f1f163c1a61742ba0f8e749884de639;p=linux-beck.git [media] doc-rst: fix some lirc cross-references 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 --- diff --git a/Documentation/media/uapi/rc/lirc-get-features.rst b/Documentation/media/uapi/rc/lirc-get-features.rst index d89712190d43..e763ebfb2cb1 100644 --- a/Documentation/media/uapi/rc/lirc-get-features.rst +++ b/Documentation/media/uapi/rc/lirc-get-features.rst @@ -44,8 +44,7 @@ LIRC features ``LIRC_CAN_REC_RAW`` - The driver is capable of receiving using - :ref:`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 `. + Unused. Kept just to avoid breaking uAPI. .. _LIRC-CAN-SEND-PULSE: diff --git a/Documentation/media/uapi/rc/lirc-get-send-mode.rst b/Documentation/media/uapi/rc/lirc-get-send-mode.rst index f58f0953851c..f3fd310a8d7c 100644 --- a/Documentation/media/uapi/rc/lirc-get-send-mode.rst +++ b/Documentation/media/uapi/rc/lirc-get-send-mode.rst @@ -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 ============ diff --git a/Documentation/media/uapi/rc/lirc_read.rst b/Documentation/media/uapi/rc/lirc_read.rst index 37f164f7526a..a8f1b446c294 100644 --- a/Documentation/media/uapi/rc/lirc_read.rst +++ b/Documentation/media/uapi/rc/lirc_read.rst @@ -1,6 +1,6 @@ .. -*- coding: utf-8; mode: rst -*- -.. _lirc_read: +.. _lirc-read: *********** LIRC read() diff --git a/Documentation/media/uapi/rc/lirc_write.rst b/Documentation/media/uapi/rc/lirc_write.rst index e27bda30afcc..dcba3b1bee6e 100644 --- a/Documentation/media/uapi/rc/lirc_write.rst +++ b/Documentation/media/uapi/rc/lirc_write.rst @@ -1,6 +1,6 @@ .. -*- coding: utf-8; mode: rst -*- -.. _lirc_write: +.. _lirc-write: ************ LIRC write() @@ -36,7 +36,7 @@ Arguments Description =========== -:ref:`write() ` writes up to ``count`` bytes to the device +:ref:`write() ` writes up to ``count`` bytes to the device referenced by the file descriptor ``fd`` from the buffer starting at ``buf``.