]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/media/rc/keymaps/rc-gotview7135.c
[media] rc: use rc_map_ prefix for all rc map tables
[linux-beck.git] / drivers / media / rc / keymaps / rc-gotview7135.c
index 54222caeff7ca642adee97a1583acb14e6cd4b95..a38bdde8c14021e3c9c4b62016e64935cc9f445f 100644 (file)
@@ -53,7 +53,7 @@ static struct rc_map_table gotview7135[] = {
        { 0x38, KEY_F24 },      /* NORMAL TIMESHIFT */
 };
 
-static struct rc_keymap gotview7135_map = {
+static struct rc_map_list gotview7135_map = {
        .map = {
                .scan    = gotview7135,
                .size    = ARRAY_SIZE(gotview7135),
@@ -64,12 +64,12 @@ static struct rc_keymap gotview7135_map = {
 
 static int __init init_rc_map_gotview7135(void)
 {
-       return ir_register_map(&gotview7135_map);
+       return rc_map_register(&gotview7135_map);
 }
 
 static void __exit exit_rc_map_gotview7135(void)
 {
-       ir_unregister_map(&gotview7135_map);
+       rc_map_unregister(&gotview7135_map);
 }
 
 module_init(init_rc_map_gotview7135)