aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-05 12:07:18 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:04 -0500
commit9695a49839353bdaff79fe27399be2eb72585223 (patch)
tree27b3fd255a1dcc8f5f4675f30f6ac8e0315ad1a0
parent6fce7fcd6d062f7acb423c5d6a190f2977454640 (diff)
V4L/DVB (6574): common/ir-functions.c: make a function static
ir_rc5_decode() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/common/ir-functions.c3
-rw-r--r--include/media/ir-common.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/common/ir-functions.c b/drivers/media/common/ir-functions.c
index e7c3ab951a44..bb2a027b9483 100644
--- a/drivers/media/common/ir-functions.c
+++ b/drivers/media/common/ir-functions.c
@@ -258,7 +258,7 @@ int ir_decode_biphase(u32 *samples, int count, int low, int high)
258 * saa7134 */ 258 * saa7134 */
259 259
260/* decode raw bit pattern to RC5 code */ 260/* decode raw bit pattern to RC5 code */
261u32 ir_rc5_decode(unsigned int code) 261static u32 ir_rc5_decode(unsigned int code)
262{ 262{
263 unsigned int org_code = code; 263 unsigned int org_code = code;
264 unsigned int pair; 264 unsigned int pair;
@@ -371,7 +371,6 @@ EXPORT_SYMBOL_GPL(ir_dump_samples);
371EXPORT_SYMBOL_GPL(ir_decode_biphase); 371EXPORT_SYMBOL_GPL(ir_decode_biphase);
372EXPORT_SYMBOL_GPL(ir_decode_pulsedistance); 372EXPORT_SYMBOL_GPL(ir_decode_pulsedistance);
373 373
374EXPORT_SYMBOL_GPL(ir_rc5_decode);
375EXPORT_SYMBOL_GPL(ir_rc5_timer_end); 374EXPORT_SYMBOL_GPL(ir_rc5_timer_end);
376EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup); 375EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup);
377 376
diff --git a/include/media/ir-common.h b/include/media/ir-common.h
index 7a785fa77212..b904d3257260 100644
--- a/include/media/ir-common.h
+++ b/include/media/ir-common.h
@@ -97,7 +97,6 @@ int ir_dump_samples(u32 *samples, int count);
97int ir_decode_biphase(u32 *samples, int count, int low, int high); 97int ir_decode_biphase(u32 *samples, int count, int low, int high);
98int ir_decode_pulsedistance(u32 *samples, int count, int low, int high); 98int ir_decode_pulsedistance(u32 *samples, int count, int low, int high);
99 99
100u32 ir_rc5_decode(unsigned int code);
101void ir_rc5_timer_end(unsigned long data); 100void ir_rc5_timer_end(unsigned long data);
102void ir_rc5_timer_keyup(unsigned long data); 101void ir_rc5_timer_keyup(unsigned long data);
103 102