diff options
Diffstat (limited to 'drivers/media/IR/keymaps')
-rw-r--r-- | drivers/media/IR/keymaps/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/IR/keymaps/rc-empty.c | 44 |
2 files changed, 0 insertions, 45 deletions
diff --git a/drivers/media/IR/keymaps/Makefile b/drivers/media/IR/keymaps/Makefile index c9fcc41944e9..950e5d953c6f 100644 --- a/drivers/media/IR/keymaps/Makefile +++ b/drivers/media/IR/keymaps/Makefile | |||
@@ -19,7 +19,6 @@ obj-$(CONFIG_RC_MAP) += rc-adstech-dvb-t-pci.o \ | |||
19 | rc-dm1105-nec.o \ | 19 | rc-dm1105-nec.o \ |
20 | rc-dntv-live-dvb-t.o \ | 20 | rc-dntv-live-dvb-t.o \ |
21 | rc-dntv-live-dvbt-pro.o \ | 21 | rc-dntv-live-dvbt-pro.o \ |
22 | rc-empty.o \ | ||
23 | rc-em-terratec.o \ | 22 | rc-em-terratec.o \ |
24 | rc-encore-enltv2.o \ | 23 | rc-encore-enltv2.o \ |
25 | rc-encore-enltv.o \ | 24 | rc-encore-enltv.o \ |
diff --git a/drivers/media/IR/keymaps/rc-empty.c b/drivers/media/IR/keymaps/rc-empty.c deleted file mode 100644 index 3b338d84b476..000000000000 --- a/drivers/media/IR/keymaps/rc-empty.c +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | /* empty.h - Keytable for empty Remote Controller | ||
2 | * | ||
3 | * keymap imported from ir-keymaps.c | ||
4 | * | ||
5 | * Copyright (c) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | */ | ||
12 | |||
13 | #include <media/rc-map.h> | ||
14 | |||
15 | /* empty keytable, can be used as placeholder for not-yet created keytables */ | ||
16 | |||
17 | static struct ir_scancode empty[] = { | ||
18 | { 0x2a, KEY_COFFEE }, | ||
19 | }; | ||
20 | |||
21 | static struct rc_keymap empty_map = { | ||
22 | .map = { | ||
23 | .scan = empty, | ||
24 | .size = ARRAY_SIZE(empty), | ||
25 | .ir_type = IR_TYPE_UNKNOWN, /* Legacy IR type */ | ||
26 | .name = RC_MAP_EMPTY, | ||
27 | } | ||
28 | }; | ||
29 | |||
30 | static int __init init_rc_map_empty(void) | ||
31 | { | ||
32 | return ir_register_map(&empty_map); | ||
33 | } | ||
34 | |||
35 | static void __exit exit_rc_map_empty(void) | ||
36 | { | ||
37 | ir_unregister_map(&empty_map); | ||
38 | } | ||
39 | |||
40 | module_init(init_rc_map_empty) | ||
41 | module_exit(exit_rc_map_empty) | ||
42 | |||
43 | MODULE_LICENSE("GPL"); | ||
44 | MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>"); | ||