summaryrefslogtreecommitdiff
path: root/drivers/media/rc/img-ir/img-ir-hw.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-03-01 03:29:00 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 22:48:12 +0400
commit46b35083ce24c1a2a721df605815978f75ca3b66 (patch)
tree50bac1651152a195548e1f131933d115646052be /drivers/media/rc/img-ir/img-ir-hw.c
parent3c11305eee6a13695954dbc067234d492cb7879c (diff)
downloadlinux-46b35083ce24c1a2a721df605815978f75ca3b66.tar.xz
[media] rc: img-ir: add Sanyo decoder module
Add an img-ir module for decoding the Sanyo infrared protocol. Signed-off-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/rc/img-ir/img-ir-hw.c')
-rw-r--r--drivers/media/rc/img-ir/img-ir-hw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/rc/img-ir/img-ir-hw.c b/drivers/media/rc/img-ir/img-ir-hw.c
index 9931dfaeb6ad..cbbfd7df649f 100644
--- a/drivers/media/rc/img-ir/img-ir-hw.c
+++ b/drivers/media/rc/img-ir/img-ir-hw.c
@@ -24,6 +24,7 @@ extern struct img_ir_decoder img_ir_nec;
extern struct img_ir_decoder img_ir_jvc;
extern struct img_ir_decoder img_ir_sony;
extern struct img_ir_decoder img_ir_sharp;
+extern struct img_ir_decoder img_ir_sanyo;
static bool img_ir_decoders_preprocessed;
static struct img_ir_decoder *img_ir_decoders[] = {
@@ -39,6 +40,9 @@ static struct img_ir_decoder *img_ir_decoders[] = {
#ifdef CONFIG_IR_IMG_SHARP
&img_ir_sharp,
#endif
+#ifdef CONFIG_IR_IMG_SANYO
+ &img_ir_sanyo,
+#endif
NULL
};