diff options
author | Hermann Pitton <hermann-pitton@arcor.de> | 2006-12-07 19:45:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:12 -0500 |
commit | 9160723ed620f31bf38332dee02041b1cb4c9967 (patch) | |
tree | 1e2bbbb78b98d9c21a769634f908874f79cbc7ba /drivers/media/video/bt8xx/bttv.h | |
parent | c8f71b01a50597e298dc3214a2f2be7b8d31170c (diff) |
V4L/DVB (4961): Add support for the ASUS P7131 remote control
Besides adding the board specific code, this patch moves
the RC5 decoding code from bt8xx to ir-functions.c to make it available
for all drivers.
Signed-off-by: Marc Fargas <telenieko.telenieko.com>
Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv.h')
-rw-r--r-- | drivers/media/video/bt8xx/bttv.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/media/video/bt8xx/bttv.h b/drivers/media/video/bt8xx/bttv.h index f9c9e3c4d111..5491acbdaf63 100644 --- a/drivers/media/video/bt8xx/bttv.h +++ b/drivers/media/video/bt8xx/bttv.h | |||
@@ -197,33 +197,6 @@ struct bttv_core { | |||
197 | struct bttv; | 197 | struct bttv; |
198 | 198 | ||
199 | 199 | ||
200 | struct bttv_ir { | ||
201 | struct input_dev *dev; | ||
202 | struct ir_input_state ir; | ||
203 | char name[32]; | ||
204 | char phys[32]; | ||
205 | |||
206 | /* Usual gpio signalling */ | ||
207 | |||
208 | u32 mask_keycode; | ||
209 | u32 mask_keydown; | ||
210 | u32 mask_keyup; | ||
211 | u32 polling; | ||
212 | u32 last_gpio; | ||
213 | struct work_struct work; | ||
214 | struct timer_list timer; | ||
215 | |||
216 | /* RC5 gpio */ | ||
217 | u32 rc5_gpio; | ||
218 | struct timer_list timer_end; /* timer_end for code completion */ | ||
219 | struct timer_list timer_keyup; /* timer_end for key release */ | ||
220 | u32 last_rc5; /* last good rc5 code */ | ||
221 | u32 last_bit; /* last raw bit seen */ | ||
222 | u32 code; /* raw code under construction */ | ||
223 | struct timeval base_time; /* time of last seen code */ | ||
224 | int active; /* building raw code */ | ||
225 | }; | ||
226 | |||
227 | struct tvcard | 200 | struct tvcard |
228 | { | 201 | { |
229 | char *name; | 202 | char *name; |