media: lirc: ensure RC_PROTO_MAX has documentation
authorSean Young <sean@mess.org>
Wed, 18 Nov 2020 10:43:40 +0000 (11:43 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 25 Nov 2020 13:52:04 +0000 (14:52 +0100)
The enum rc_proto value RC_PROTO_MAX has no documentation, this is causing
a warning while building the documentation.

Fixes: 72e637fec558 ("media: rc: validate that "rc_proto" is reasonable")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/uapi/linux/lirc.h

index c1eb960adde3d8c20458cb15dea5389f4a38b4bf..bf0672a6d34150d6595b1caaa42b3006a4458786 100644 (file)
@@ -196,6 +196,7 @@ struct lirc_scancode {
  * @RC_PROTO_RCMM24: RC-MM protocol 24 bits
  * @RC_PROTO_RCMM32: RC-MM protocol 32 bits
  * @RC_PROTO_XBOX_DVD: Xbox DVD Movie Playback Kit protocol
+ * @RC_PROTO_MAX: Maximum value of enum rc_proto
  */
 enum rc_proto {
        RC_PROTO_UNKNOWN        = 0,