lirc/lirc-0.8.7-lirc_h_2.diff

47 lines
1.5 KiB
Diff

From 7b8fd7003663aad26c0b5f5f8aa30d0e57b343e3 Mon Sep 17 00:00:00 2001
From: Jarod Wilson <jarod@redhat.com>
Date: Tue, 13 Jul 2010 23:11:42 -0400
Subject: [PATCH 2/2] these ioctl defines are needed by lircd
Signed-off-by: Jarod Wilson <jarod@redhat.com>
---
drivers/lirc.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/lirc.h b/drivers/lirc.h
index 9edd0e5..32fcbf3 100644
--- a/drivers/lirc.h
+++ b/drivers/lirc.h
@@ -97,12 +97,10 @@
#define LIRC_GET_MIN_TIMEOUT _IOR('i', 0x00000008, __u32)
#define LIRC_GET_MAX_TIMEOUT _IOR('i', 0x00000009, __u32)
-#if 0 /* these ioctls are not used at the moment */
#define LIRC_GET_MIN_FILTER_PULSE _IOR('i', 0x0000000a, __u32)
#define LIRC_GET_MAX_FILTER_PULSE _IOR('i', 0x0000000b, __u32)
#define LIRC_GET_MIN_FILTER_SPACE _IOR('i', 0x0000000c, __u32)
#define LIRC_GET_MAX_FILTER_SPACE _IOR('i', 0x0000000d, __u32)
-#endif
/* code length in bits, currently only for LIRC_MODE_LIRCCODE */
#define LIRC_GET_LENGTH _IOR('i', 0x0000000f, __u32)
@@ -123,7 +121,6 @@
*/
#define LIRC_SET_REC_TIMEOUT _IOW('i', 0x00000018, __u32)
-#if 0 /* these ioctls are not used at the moment */
/* 1 enables, 0 disables timeout reports in MODE2 */
#define LIRC_SET_REC_TIMEOUT_REPORTS _IOW('i', 0x00000019, __u32)
@@ -148,7 +145,6 @@
* LIRC_MODE2_FREQUENCY packets
*/
#define LIRC_SET_MEASURE_CARRIER_MODE _IOW('i', 0x0000001d, __u32)
-#endif
/*
* to set a range use
--
1.7.1