summaryrefslogtreecommitdiff
path: root/drivers/media/IR/ir-core-priv.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-04-16 01:46:10 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 19:57:44 +0400
commit3fe29c897272b18e18663832c43942c3936dffe6 (patch)
treedbc47c805c37fc78e5cad3c07f5f0793acd1881b /drivers/media/IR/ir-core-priv.h
parentbf670f641d478fa5a2dd60ed41bab3156cc780c0 (diff)
downloadlinux-3fe29c897272b18e18663832c43942c3936dffe6.tar.xz
V4L/DVB: ir-core: Add Sony support to ir-core
This patch adds a Sony12/15/20 decoder to ir-core. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-core-priv.h')
-rw-r--r--drivers/media/IR/ir-core-priv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/IR/ir-core-priv.h b/drivers/media/IR/ir-core-priv.h
index 464e392f24cf..9a5e65a471a5 100644
--- a/drivers/media/IR/ir-core-priv.h
+++ b/drivers/media/IR/ir-core-priv.h
@@ -116,4 +116,11 @@ void ir_raw_init(void);
#define load_jvc_decode() 0
#endif
+/* from ir-sony-decoder.c */
+#ifdef CONFIG_IR_SONY_DECODER_MODULE
+#define load_sony_decode() request_module("ir-sony-decoder")
+#else
+#define load_sony_decode() 0
+#endif
+
#endif /* _IR_RAW_EVENT */