]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/media/rc-map.h
[media] rc: Properly name the rc_map struct
[linux-beck.git] / include / media / rc-map.h
index c53351e15f505abcb4ce18db7c8cdf417a6768a3..a6b2738f2d600176e41f6619d15c4c153ced72ec 100644 (file)
@@ -30,7 +30,7 @@ struct ir_scancode {
        u32     keycode;
 };
 
-struct ir_scancode_table {
+struct rc_map {
        struct ir_scancode      *scan;
        unsigned int            size;   /* Max number of entries */
        unsigned int            len;    /* Used number of entries */
@@ -42,14 +42,14 @@ struct ir_scancode_table {
 
 struct rc_keymap {
        struct list_head         list;
-       struct ir_scancode_table map;
+       struct rc_map map;
 };
 
 /* Routines from rc-map.c */
 
 int ir_register_map(struct rc_keymap *map);
 void ir_unregister_map(struct rc_keymap *map);
-struct ir_scancode_table *get_rc_map(const char *name);
+struct rc_map *get_rc_map(const char *name);
 void rc_map_init(void);
 
 /* Names of the several keytables defined in-kernel */