Skip to contentSkip to conversation

media: lirc: ensure RC_PROTO_MAX has documentation

PATCH New Sean Young 1 participant 1 message Nov 18, 2020

Subsystems (2)
lore
Share & tools
lore

Sean Young

author maintainer
#0 lore raw

PATCH 1/1 media: lirc: ensure RC_PROTO_MAX has documentation

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")
---
 include/uapi/linux/lirc.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/lirc.h +1 -0
index c1eb960adde3..bf0672a6d341 100644
@@ -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,
Signature · 1 line
2.28.0