]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] doc-rst: reorganize LIRC ReST files
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 12:35:26 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 12:43:04 +0000 (09:43 -0300)
Reorganize the LIRC rst files, using "-" instead of "_" on
their names, and creating a separate chapter for syscalls.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/rc/lirc-dev-intro.rst [moved from Documentation/media/uapi/rc/lirc_dev_intro.rst with 100% similarity]
Documentation/media/uapi/rc/lirc-dev.rst [new file with mode: 0644]
Documentation/media/uapi/rc/lirc-func.rst [moved from Documentation/media/uapi/rc/lirc_device_interface.rst with 81% similarity]
Documentation/media/uapi/rc/lirc-read.rst [moved from Documentation/media/uapi/rc/lirc_read.rst with 83% similarity]
Documentation/media/uapi/rc/lirc-write.rst [moved from Documentation/media/uapi/rc/lirc_write.rst with 100% similarity]
Documentation/media/uapi/rc/remote_controllers.rst

diff --git a/Documentation/media/uapi/rc/lirc-dev.rst b/Documentation/media/uapi/rc/lirc-dev.rst
new file mode 100644 (file)
index 0000000..03cde25
--- /dev/null
@@ -0,0 +1,14 @@
+.. -*- coding: utf-8; mode: rst -*-
+
+.. _lirc_dev:
+
+LIRC Device Interface
+=====================
+
+
+.. toctree::
+    :maxdepth: 1
+
+    lirc-dev-intro
+    lirc-func
+    lirc-header
similarity index 81%
rename from Documentation/media/uapi/rc/lirc_device_interface.rst
rename to Documentation/media/uapi/rc/lirc-func.rst
index a2ad957c96ae381f67f782e2c33fbbe61ce68695..9b5a772ec96c29f78c2e0c4e1a669a3ab5d5724e 100644 (file)
@@ -1,17 +1,16 @@
 .. -*- coding: utf-8; mode: rst -*-
 
-.. _lirc_dev:
+.. _lirc_func:
 
-LIRC Device Interface
-=====================
+LIRC Function Reference
+=======================
 
 
 .. toctree::
     :maxdepth: 1
 
-    lirc_dev_intro
-    lirc_read
-    lirc_write
+    lirc-read
+    lirc-write
     lirc-get-features
     lirc-get-send-mode
     lirc-get-rec-mode
similarity index 83%
rename from Documentation/media/uapi/rc/lirc_read.rst
rename to Documentation/media/uapi/rc/lirc-read.rst
index a8f1b446c29451eb915d17a96ac61e19f6f8659c..8d4e9b6e507d7fea6c860879180c4691b82341a5 100644 (file)
@@ -44,10 +44,10 @@ is greater than ``SSIZE_MAX``, the result is unspecified.
 The lircd userspace daemon reads raw IR data from the LIRC chardev. The
 exact format of the data depends on what modes a driver supports, and
 what mode has been selected. lircd obtains supported modes and sets the
-active mode via the ioctl interface, detailed at :ref:`lirc_ioctl`.
-The generally preferred mode is LIRC_MODE_MODE2, in which packets
-containing an int value describing an IR signal are read from the
-chardev.
+active mode via the ioctl interface, detailed at :ref:`lirc_func`.
+The generally preferred mode for receive is
+:ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`, in which packets containing an
+int value describing an IR signal are read from the chardev.
 
 See also
 `http://www.lirc.org/html/technical.html <http://www.lirc.org/html/technical.html>`__
index 3e9731afedd9ccef49d3eb1a3a4f932de8a50a3a..169286501ebba815f64f5464d938673fa548e56b 100644 (file)
@@ -23,8 +23,7 @@ Remote Controllers
     rc-sysfs-nodes
     rc-tables
     rc-table-change
-    lirc_device_interface
-    lirc-header
+    lirc-dev
 
 
 **********************