From 68cd5e0bed9971951c543aac93c8b7a1590ace21 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 10 Jul 2016 07:18:52 -0300 Subject: [PATCH] [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 --- Documentation/media/Makefile | 5 ++++- Documentation/media/lirc.h.rst.exceptions | 2 ++ Documentation/media/uapi/rc/remote_controllers.rst | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Documentation/media/lirc.h.rst.exceptions 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 **********************