This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: keytable: fix EVIOCSCLOCKID related compile failure
Author:  Peter Seiderer <ps.rep...@gmx.net>
Date:    Tue Feb 6 15:34:23 2018 -0500

Fixes:

  keytable.c: In function 'test_event':
  keytable.c:1351:12: error: 'EVIOCSCLOCKID' undeclared (first use in this 
function)
    ioctl(fd, EVIOCSCLOCKID, &mode);
              ^~~~~~~~~~~~~

Signed-off-by: Peter Seiderer <ps.rep...@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 utils/keytable/keytable.c | 4 ++++
 1 file changed, 4 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=a3367e92f4b06667a36fb9485f22f7df52891a2f
diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 34a1522e972e..925eab0005fa 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -55,6 +55,10 @@ struct input_keymap_entry_v2 {
        u_int8_t  scancode[32];
 };
 
+#ifndef EVIOCSCLOCKID
+#define EVIOCSCLOCKID          _IOW('E', 0xa0, int)
+#endif
+
 #ifndef EVIOCGKEYCODE_V2
 #define EVIOCGKEYCODE_V2       _IOR('E', 0x04, struct input_keymap_entry_v2)
 #define EVIOCSKEYCODE_V2       _IOW('E', 0x04, struct input_keymap_entry_v2)

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to