diff options
author | David Härdeman <david@hardeman.nu> | 2010-04-09 03:04:40 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 19:57:17 +0400 |
commit | 784a493168f71ce02b5f9eab0ec19df29b999631 (patch) | |
tree | 8e7e45dfbb6b4b9be8db010b84617ffdff9eafb9 /drivers/media/IR/ir-core-priv.h | |
parent | 25bb10c11e6cca461f09df8f59c2eb501a9e4d52 (diff) | |
download | linux-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.h | 7 |
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 */ |