diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-11-27 20:40:22 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:42:19 -0500 |
commit | 8573b74af25c279de3e309beddcba984bee9ec15 (patch) | |
tree | 62635afe2df0727b5eed544f43d9e6b5c2aabdcb /include/media/ir-common.h | |
parent | ef53a1159dfcdc1fecf5adb5b8d26803f194c09b (diff) |
V4L/DVB (13533): ir: use dynamic tables, instead of static ones
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/ir-common.h')
-rw-r--r-- | include/media/ir-common.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 805f1e09770f..262347b61506 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -62,8 +62,7 @@ struct ir_input_state { | |||
62 | IR_KEYTAB_TYPE ir_codes[IR_KEYTAB_SIZE]; | 62 | IR_KEYTAB_TYPE ir_codes[IR_KEYTAB_SIZE]; |
63 | 63 | ||
64 | /* key info */ | 64 | /* key info */ |
65 | u32 ir_raw; /* raw data */ | 65 | u32 ir_key; /* ir scancode */ |
66 | u32 ir_key; /* ir key code */ | ||
67 | u32 keycode; /* linux key code */ | 66 | u32 keycode; /* linux key code */ |
68 | int keypressed; /* current state */ | 67 | int keypressed; /* current state */ |
69 | }; | 68 | }; |
@@ -112,7 +111,7 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, | |||
112 | int ir_type, struct ir_scancode_table *ir_codes); | 111 | int ir_type, struct ir_scancode_table *ir_codes); |
113 | void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir); | 112 | void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir); |
114 | void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, | 113 | void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, |
115 | u32 ir_key, u32 ir_raw); | 114 | u32 ir_key); |
116 | u32 ir_extract_bits(u32 data, u32 mask); | 115 | u32 ir_extract_bits(u32 data, u32 mask); |
117 | int ir_dump_samples(u32 *samples, int count); | 116 | int ir_dump_samples(u32 *samples, int count); |
118 | int ir_decode_biphase(u32 *samples, int count, int low, int high); | 117 | int ir_decode_biphase(u32 *samples, int count, int low, int high); |