forked from Sricharanti/sricharan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] rc-videomate-m1f.c Rename to match remote controler name
This remote was added with support for card Compro VideoMate M1F. This remote is shipped with various Compro cards, not this one only. Furthermore this remote can be bought separately under name Compro VideoMate K100. http://compro.com.tw/en/product/k100/k100.html So give it a proper name. [[email protected]: Fix the Makefile] Signed-off-by: Samuel Rakitničan <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
1 parent
c18e1c7
commit 0963119
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* videomate-m1f.h - Keytable for videomate_m1f Remote Controller | ||
/* videomate-k100.h - Keytable for videomate_k100 Remote Controller | ||
* | ||
* keymap imported from ir-keymaps.c | ||
* | ||
|
@@ -13,7 +13,7 @@ | |
#include <media/rc-map.h> | ||
#include <linux/module.h> | ||
|
||
static struct rc_map_table videomate_m1f[] = { | ||
static struct rc_map_table videomate_k100[] = { | ||
{ 0x01, KEY_POWER }, | ||
{ 0x31, KEY_TUNER }, | ||
{ 0x33, KEY_VIDEO }, | ||
|
@@ -67,27 +67,27 @@ static struct rc_map_table videomate_m1f[] = { | |
{ 0x18, KEY_TEXT }, | ||
}; | ||
|
||
static struct rc_map_list videomate_m1f_map = { | ||
static struct rc_map_list videomate_k100_map = { | ||
.map = { | ||
.scan = videomate_m1f, | ||
.size = ARRAY_SIZE(videomate_m1f), | ||
.scan = videomate_k100, | ||
.size = ARRAY_SIZE(videomate_k100), | ||
.rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */ | ||
.name = RC_MAP_VIDEOMATE_M1F, | ||
.name = RC_MAP_VIDEOMATE_K100, | ||
} | ||
}; | ||
|
||
static int __init init_rc_map_videomate_m1f(void) | ||
static int __init init_rc_map_videomate_k100(void) | ||
{ | ||
return rc_map_register(&videomate_m1f_map); | ||
return rc_map_register(&videomate_k100_map); | ||
} | ||
|
||
static void __exit exit_rc_map_videomate_m1f(void) | ||
static void __exit exit_rc_map_videomate_k100(void) | ||
{ | ||
rc_map_unregister(&videomate_m1f_map); | ||
rc_map_unregister(&videomate_k100_map); | ||
} | ||
|
||
module_init(init_rc_map_videomate_m1f) | ||
module_exit(exit_rc_map_videomate_m1f) | ||
module_init(init_rc_map_videomate_k100) | ||
module_exit(exit_rc_map_videomate_k100) | ||
|
||
MODULE_LICENSE("GPL"); | ||
MODULE_AUTHOR("Pavel Osnova <[email protected]>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters