diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/rc-core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h index a23c1fc685a1..2963263f31e2 100644 --- a/include/media/rc-core.h +++ b/include/media/rc-core.h | |||
@@ -183,6 +183,9 @@ static inline void init_ir_raw_event(struct ir_raw_event *ev) | |||
183 | } | 183 | } |
184 | 184 | ||
185 | #define IR_MAX_DURATION 0xFFFFFFFF /* a bit more than 4 seconds */ | 185 | #define IR_MAX_DURATION 0xFFFFFFFF /* a bit more than 4 seconds */ |
186 | #define US_TO_NS(usec) ((usec) * 1000) | ||
187 | #define MS_TO_US(msec) ((msec) * 1000) | ||
188 | #define MS_TO_NS(msec) ((msec) * 1000 * 1000) | ||
186 | 189 | ||
187 | void ir_raw_event_handle(struct rc_dev *dev); | 190 | void ir_raw_event_handle(struct rc_dev *dev); |
188 | int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev); | 191 | int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev); |