aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/rc-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r--include/media/rc-map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index c53351e15f50..a6b2738f2d60 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -30,7 +30,7 @@ struct ir_scancode {
30 u32 keycode; 30 u32 keycode;
31}; 31};
32 32
33struct ir_scancode_table { 33struct rc_map {
34 struct ir_scancode *scan; 34 struct ir_scancode *scan;
35 unsigned int size; /* Max number of entries */ 35 unsigned int size; /* Max number of entries */
36 unsigned int len; /* Used number of entries */ 36 unsigned int len; /* Used number of entries */
@@ -42,14 +42,14 @@ struct ir_scancode_table {
42 42
43struct rc_keymap { 43struct rc_keymap {
44 struct list_head list; 44 struct list_head list;
45 struct ir_scancode_table map; 45 struct rc_map map;
46}; 46};
47 47
48/* Routines from rc-map.c */ 48/* Routines from rc-map.c */
49 49
50int ir_register_map(struct rc_keymap *map); 50int ir_register_map(struct rc_keymap *map);
51void ir_unregister_map(struct rc_keymap *map); 51void ir_unregister_map(struct rc_keymap *map);
52struct ir_scancode_table *get_rc_map(const char *name); 52struct rc_map *get_rc_map(const char *name);
53void rc_map_init(void); 53void rc_map_init(void);
54 54
55/* Names of the several keytables defined in-kernel */ 55/* Names of the several keytables defined in-kernel */