diff options
author | Andy Walls <awalls@radix.net> | 2009-09-27 19:05:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:40:21 -0500 |
commit | 1d23a002434802078d806ddc2937bd69bbbd6dc8 (patch) | |
tree | c3f2e5f6e9ca8bb191ebb6fc9cee901fa732f74d /drivers/media/common | |
parent | f59ad611acccd4057b8e685c7fd5532ab1a17f66 (diff) |
V4L/DVB (13099): ir-functions: Export ir_rc5_decode() for use by the cx23885 module
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/ir-functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/common/ir-functions.c b/drivers/media/common/ir-functions.c index abd4791acb0e..fc2d8941459f 100644 --- a/drivers/media/common/ir-functions.c +++ b/drivers/media/common/ir-functions.c | |||
@@ -275,7 +275,7 @@ EXPORT_SYMBOL_GPL(ir_decode_biphase); | |||
275 | * saa7134 */ | 275 | * saa7134 */ |
276 | 276 | ||
277 | /* decode raw bit pattern to RC5 code */ | 277 | /* decode raw bit pattern to RC5 code */ |
278 | static u32 ir_rc5_decode(unsigned int code) | 278 | u32 ir_rc5_decode(unsigned int code) |
279 | { | 279 | { |
280 | unsigned int org_code = code; | 280 | unsigned int org_code = code; |
281 | unsigned int pair; | 281 | unsigned int pair; |
@@ -304,6 +304,7 @@ static u32 ir_rc5_decode(unsigned int code) | |||
304 | RC5_TOGGLE(rc5), RC5_ADDR(rc5), RC5_INSTR(rc5)); | 304 | RC5_TOGGLE(rc5), RC5_ADDR(rc5), RC5_INSTR(rc5)); |
305 | return rc5; | 305 | return rc5; |
306 | } | 306 | } |
307 | EXPORT_SYMBOL_GPL(ir_rc5_decode); | ||
307 | 308 | ||
308 | void ir_rc5_timer_end(unsigned long data) | 309 | void ir_rc5_timer_end(unsigned long data) |
309 | { | 310 | { |