summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-10 07:18:52 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-10 07:50:13 -0300
commit68cd5e0bed9971951c543aac93c8b7a1590ace21 (patch)
treee24ff8e703aaac525ffc6606abbf0996bfa24d2c /Documentation
parent8a6ba5c02f79fc60e8300698942878d6796c3fd4 (diff)
[media] doc-rst: add LIRC header to the book
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/media/Makefile5
-rw-r--r--Documentation/media/lirc.h.rst.exceptions2
-rw-r--r--Documentation/media/uapi/rc/remote_controllers.rst1
3 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/media/Makefile b/Documentation/media/Makefile
index bcb9eb5921aa..39e2d766dbe3 100644
--- a/Documentation/media/Makefile
+++ b/Documentation/media/Makefile
@@ -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
index 000000000000..efdcb59f3002
--- /dev/null
+++ b/Documentation/media/lirc.h.rst.exceptions
@@ -0,0 +1,2 @@
+# Ignore header name
+ignore define _LINUX_LIRC_H
diff --git a/Documentation/media/uapi/rc/remote_controllers.rst b/Documentation/media/uapi/rc/remote_controllers.rst
index 82e64e7acbe3..3e9731afedd9 100644
--- a/Documentation/media/uapi/rc/remote_controllers.rst
+++ b/Documentation/media/uapi/rc/remote_controllers.rst
@@ -24,6 +24,7 @@ Remote Controllers
rc-tables
rc-table-change
lirc_device_interface
+ lirc-header
**********************