summaryrefslogtreecommitdiffstats
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 00:28:58 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 19:47:41 +0100
commite72b21abc8ec76b3e2c332e631f15d975e781e37 (patch)
treea9c6a7e6ccd09b87ed719e0d9698a4ab1909c334 /drivers/media/rc/img-ir/img-ir-hw.c
parent[media] rc: img-ir: add JVC decoder module (diff)
downloadlinux-e72b21abc8ec76b3e2c332e631f15d975e781e37.tar.xz
linux-e72b21abc8ec76b3e2c332e631f15d975e781e37.zip
[media] rc: img-ir: add Sony decoder module
Add an img-ir module for decoding the Sony 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 81c50e3f88d9..0d4f9211f9f2 100644
--- a/drivers/media/rc/img-ir/img-ir-hw.c
+++ b/drivers/media/rc/img-ir/img-ir-hw.c
@@ -22,6 +22,7 @@ static DEFINE_SPINLOCK(img_ir_decoders_lock);
extern struct img_ir_decoder img_ir_nec;
extern struct img_ir_decoder img_ir_jvc;
+extern struct img_ir_decoder img_ir_sony;
static bool img_ir_decoders_preprocessed;
static struct img_ir_decoder *img_ir_decoders[] = {
@@ -31,6 +32,9 @@ static struct img_ir_decoder *img_ir_decoders[] = {
#ifdef CONFIG_IR_IMG_JVC
&img_ir_jvc,
#endif
+#ifdef CONFIG_IR_IMG_SONY
+ &img_ir_sony,
+#endif
NULL
};