summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-02-27 08:03:56 -0500
committerTao Huang <huangtao@rock-chips.com>2018-12-10 20:36:31 +0800
commit79f034b2b25108c05b32f08ab053e62423243cb4 (patch)
treec246520b05a157215b474b5d314a45f2705234d2 /include/uapi
parent9d29c0e57ca9826f6911291c028f0044c5149761 (diff)
UPSTREAM: media: rc: lirc does not use LIRC_CAN_SEND_SCANCODE feature
Since commit 02d742f4b209 ("media: lirc: lirc daemon fails to detect raw IR device"), the feature LIRC_CAN_SEND_SCANCODE is no longer used as it tripped up lircd. The ability to send scancodes for IR Tx is implied by LIRC_CAN_SEND_PULSE (i.e. any device that can send can use IR Tx encoders). So, remove LIRC_CAN_SEND_SCANCODE since it never used. This fixes: Documentation/output/lirc.h.rst:6: WARNING: undefined label: lirc-can-send-scancode (if the link has no caption the label must precede a section header As this flag was added for kernel 4.16, let's remove it, while not too late. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> (cherry picked from commit 2fe4c22c53fc2e3f35be2cd0033cb3d15ebd41b1) Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/lirc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/linux/lirc.h b/include/uapi/linux/lirc.h
index fed779546017..9f273b4e1948 100644
--- a/include/uapi/linux/lirc.h
+++ b/include/uapi/linux/lirc.h
@@ -53,7 +53,6 @@
#define LIRC_CAN_SEND_RAW LIRC_MODE2SEND(LIRC_MODE_RAW)
#define LIRC_CAN_SEND_PULSE LIRC_MODE2SEND(LIRC_MODE_PULSE)
#define LIRC_CAN_SEND_MODE2 LIRC_MODE2SEND(LIRC_MODE_MODE2)
-#define LIRC_CAN_SEND_SCANCODE LIRC_MODE2SEND(LIRC_MODE_SCANCODE)
#define LIRC_CAN_SEND_LIRCCODE LIRC_MODE2SEND(LIRC_MODE_LIRCCODE)
#define LIRC_CAN_SEND_MASK 0x0000003f