]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] doc-rst: add LIRC header to the book
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 10 Jul 2016 10:18:52 +0000 (07:18 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 10 Jul 2016 10:50:13 +0000 (07:50 -0300)
Just like the other parts of the document, let's add the LIRC
header, as it is part of the API.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/Makefile
Documentation/media/lirc.h.rst.exceptions [new file with mode: 0644]
Documentation/media/uapi/rc/remote_controllers.rst

index bcb9eb5921aa1bbb6f11dccc6caff3f6cd84bb9f..39e2d766dbe32d7ff7f214df6f66dbe34b8d76fa 100644 (file)
@@ -6,7 +6,7 @@ KAPI = $(srctree)/include/linux
 SRC_DIR=$(srctree)/Documentation/media
 
 FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \
-         videodev2.h.rst media.h.rst cec.h.rst
+         videodev2.h.rst media.h.rst cec.h.rst lirc.h.rst
 
 TARGETS := $(addprefix $(BUILDDIR)/, $(FILES))
 
@@ -53,5 +53,8 @@ $(BUILDDIR)/media.h.rst: ${UAPI}/media.h ${PARSER} $(SRC_DIR)/media.h.rst.except
 $(BUILDDIR)/cec.h.rst: ${KAPI}/cec.h ${PARSER} $(SRC_DIR)/cec.h.rst.exceptions
        @$($(quiet)gen_rst)
 
+$(BUILDDIR)/lirc.h.rst: ${UAPI}/lirc.h ${PARSER} $(SRC_DIR)/lirc.h.rst.exceptions
+       @$($(quiet)gen_rst)
+
 cleandocs:
        -rm ${TARGETS}
diff --git a/Documentation/media/lirc.h.rst.exceptions b/Documentation/media/lirc.h.rst.exceptions
new file mode 100644 (file)
index 0000000..efdcb59
--- /dev/null
@@ -0,0 +1,2 @@
+# Ignore header name
+ignore define _LINUX_LIRC_H
index 82e64e7acbe3eca43b9015c8221c2ce8d18624cd..3e9731afedd9ccef49d3eb1a3a4f932de8a50a3a 100644 (file)
@@ -24,6 +24,7 @@ Remote Controllers
     rc-tables
     rc-table-change
     lirc_device_interface
+    lirc-header
 
 
 **********************