media: lirc: fix lirc.h documentation generation
authorSean Young <sean@mess.org>
Thu, 26 Nov 2020 09:05:16 +0000 (10:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 13:29:37 +0000 (14:29 +0100)
commit711561a41d1f70ad939c3ff3cf00e75fa8238337
treeab3b8abf2ce4d576a1ed12b2f788aff4e3d6c20b
parent2a14dfaffe2cabf0614e6507d0d749a5b36c2987
media: lirc: fix lirc.h documentation generation

The rc_proto enum values should be ignored for now, otherwise we get
warnings like:

Documentation/output/lirc.h.rst:6: WARNING: undefined label: rc-proto-max (if the link has no caption the label must precede a section header)

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 72e637fec558 ("media: rc: validate that "rc_proto" is reasonable")
Fixes: cea357bc2571 ("media: lirc: ensure RC_PROTO_MAX has documentation")
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/lirc.h.rst.exceptions