aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/rc-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/rc-main.c')
-rw-r--r--drivers/media/rc/rc-main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 5b67eea96ebb..d91b62cf1324 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -12,7 +12,7 @@
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 */ 13 */
14 14
15#include <media/ir-core.h> 15#include <media/rc-core.h>
16#include <linux/spinlock.h> 16#include <linux/spinlock.h>
17#include <linux/delay.h> 17#include <linux/delay.h>
18#include <linux/input.h> 18#include <linux/input.h>
@@ -1103,11 +1103,11 @@ EXPORT_SYMBOL_GPL(rc_unregister_device);
1103 * Init/exit code for the module. Basically, creates/removes /sys/class/rc 1103 * Init/exit code for the module. Basically, creates/removes /sys/class/rc
1104 */ 1104 */
1105 1105
1106static int __init ir_core_init(void) 1106static int __init rc_core_init(void)
1107{ 1107{
1108 int rc = class_register(&ir_input_class); 1108 int rc = class_register(&ir_input_class);
1109 if (rc) { 1109 if (rc) {
1110 printk(KERN_ERR "ir_core: unable to register rc class\n"); 1110 printk(KERN_ERR "rc_core: unable to register rc class\n");
1111 return rc; 1111 return rc;
1112 } 1112 }
1113 1113
@@ -1118,18 +1118,18 @@ static int __init ir_core_init(void)
1118 return 0; 1118 return 0;
1119} 1119}
1120 1120
1121static void __exit ir_core_exit(void) 1121static void __exit rc_core_exit(void)
1122{ 1122{
1123 class_unregister(&ir_input_class); 1123 class_unregister(&ir_input_class);
1124 ir_unregister_map(&empty_map); 1124 ir_unregister_map(&empty_map);
1125} 1125}
1126 1126
1127module_init(ir_core_init); 1127module_init(rc_core_init);
1128module_exit(ir_core_exit); 1128module_exit(rc_core_exit);
1129 1129
1130int ir_core_debug; /* ir_debug level (0,1,2) */ 1130int rc_core_debug; /* ir_debug level (0,1,2) */
1131EXPORT_SYMBOL_GPL(ir_core_debug); 1131EXPORT_SYMBOL_GPL(rc_core_debug);
1132module_param_named(debug, ir_core_debug, int, 0644); 1132module_param_named(debug, rc_core_debug, int, 0644);
1133 1133
1134MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>"); 1134MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
1135MODULE_LICENSE("GPL"); 1135MODULE_LICENSE("GPL");