aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-09-27 19:05:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:40:21 -0500
commit1d23a002434802078d806ddc2937bd69bbbd6dc8 (patch)
treec3f2e5f6e9ca8bb191ebb6fc9cee901fa732f74d /drivers/media/common
parentf59ad611acccd4057b8e685c7fd5532ab1a17f66 (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.c3
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 */
278static u32 ir_rc5_decode(unsigned int code) 278u32 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}
307EXPORT_SYMBOL_GPL(ir_rc5_decode);
307 308
308void ir_rc5_timer_end(unsigned long data) 309void ir_rc5_timer_end(unsigned long data)
309{ 310{