summaryrefslogtreecommitdiff
path: root/include/uapi/linux/cec.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-08-15 22:26:25 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 15:14:03 +0300
commit9a6b2a87405a5022660022722d4a830b768e8033 (patch)
tree78151072123289a354ac6b0e48ebb43dea0ff800 /include/uapi/linux/cec.h
parent583352beda86e31af86c89718e9c6762318017c6 (diff)
downloadlinux-9a6b2a87405a5022660022722d4a830b768e8033.tar.xz
media: cec: rename pin events/function
The CEC_EVENT_PIN_LOW/HIGH defines and the cec_queue_pin_event() function did not specify that these were about CEC pin events. Since in the future there will also be HPD pin events it is wise to rename the event defines and function to CEC_EVENT_PIN_CEC_LOW/HIGH and cec_queue_pin_cec_event() now before these become part of the ABI. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/cec.h')
-rw-r--r--include/uapi/linux/cec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/cec.h b/include/uapi/linux/cec.h
index d87a67b0bb06..4351c3481aea 100644
--- a/include/uapi/linux/cec.h
+++ b/include/uapi/linux/cec.h
@@ -408,8 +408,8 @@ struct cec_log_addrs {
* didn't empty the message queue in time
*/
#define CEC_EVENT_LOST_MSGS 2
-#define CEC_EVENT_PIN_LOW 3
-#define CEC_EVENT_PIN_HIGH 4
+#define CEC_EVENT_PIN_CEC_LOW 3
+#define CEC_EVENT_PIN_CEC_HIGH 4
#define CEC_EVENT_FL_INITIAL_STATE (1 << 0)
#define CEC_EVENT_FL_DROPPED_EVENTS (1 << 1)