summaryrefslogtreecommitdiff
path: root/drivers/media/IR/ir-core-priv.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-04-09 03:04:40 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 19:57:17 +0400
commit784a493168f71ce02b5f9eab0ec19df29b999631 (patch)
tree8e7e45dfbb6b4b9be8db010b84617ffdff9eafb9 /drivers/media/IR/ir-core-priv.h
parent25bb10c11e6cca461f09df8f59c2eb501a9e4d52 (diff)
downloadlinux-784a493168f71ce02b5f9eab0ec19df29b999631.tar.xz
V4L/DVB: Add RC6 support to ir-core
This patch adds an RC6 decoder (modes 0 and 6A) 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 ea546659e4ce..59d5ed7e103e 100644
--- a/drivers/media/IR/ir-core-priv.h
+++ b/drivers/media/IR/ir-core-priv.h
@@ -108,4 +108,11 @@ void ir_raw_init(void);
#define load_rc5_decode() 0
#endif
+/* from ir-rc6-decoder.c */
+#ifdef CONFIG_IR_RC5_DECODER_MODULE
+#define load_rc6_decode() request_module("ir-rc6-decoder")
+#else
+#define load_rc6_decode() 0
+#endif
+
#endif /* _IR_RAW_EVENT */