Merge branch 'for-linus' of git://git.infradead.org/users/sameo/mfd-2.6
[linux-btrfs-devel.git] / drivers / media / rc / keymaps / rc-lirc.c
blobe8e23e233c392373ca92e35176504a03173f779f
1 /* rc-lirc.c - Empty dummy keytable, for use when its preferred to pass
2 * all raw IR data to the lirc userspace decoder.
4 * Copyright (c) 2010 by Jarod Wilson <jarod@redhat.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 #include <media/rc-core.h>
14 static struct rc_map_table lirc[] = {
15 { },
18 static struct rc_map_list lirc_map = {
19 .map = {
20 .scan = lirc,
21 .size = ARRAY_SIZE(lirc),
22 .rc_type = RC_TYPE_LIRC,
23 .name = RC_MAP_LIRC,
27 static int __init init_rc_map_lirc(void)
29 return rc_map_register(&lirc_map);
32 static void __exit exit_rc_map_lirc(void)
34 rc_map_unregister(&lirc_map);
37 module_init(init_rc_map_lirc)
38 module_exit(exit_rc_map_lirc)
40 MODULE_LICENSE("GPL");
41 MODULE_AUTHOR("Jarod Wilson <jarod@redhat.com>");