diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-10 00:59:11 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-10 01:01:49 -0400 |
commit | 9f470095068e415658ccc6977cf4b3f5be418526 (patch) | |
tree | b562b84cf87d9f28cd658365bf98a8012238a8d3 /include/media/rc-map.h | |
parent | 67127f3061cc486572a50990a1fd919ddde48c40 (diff) |
Input: media/IR - switch to using new keycode interface
Switch the code to use new style of getkeycode and setkeycode
methods to allow retrieving and setting keycodes not only by
their scancodes but also by index.
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r-- | include/media/rc-map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h index a9c041d49662..9b201ec8dc7f 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h | |||
@@ -35,7 +35,7 @@ struct ir_scancode_table { | |||
35 | unsigned int len; /* Used number of entries */ | 35 | unsigned int len; /* Used number of entries */ |
36 | unsigned int alloc; /* Size of *scan in bytes */ | 36 | unsigned int alloc; /* Size of *scan in bytes */ |
37 | u64 ir_type; | 37 | u64 ir_type; |
38 | char *name; | 38 | const char *name; |
39 | spinlock_t lock; | 39 | spinlock_t lock; |
40 | }; | 40 | }; |
41 | 41 | ||