提交 9695a498 编写于 作者: A Adrian Bunk 提交者: Mauro Carvalho Chehab

V4L/DVB (6574): common/ir-functions.c: make a function static

ir_rc5_decode() can become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 6fce7fcd
...@@ -258,7 +258,7 @@ int ir_decode_biphase(u32 *samples, int count, int low, int high) ...@@ -258,7 +258,7 @@ int ir_decode_biphase(u32 *samples, int count, int low, int high)
* saa7134 */ * saa7134 */
/* decode raw bit pattern to RC5 code */ /* decode raw bit pattern to RC5 code */
u32 ir_rc5_decode(unsigned int code) static u32 ir_rc5_decode(unsigned int code)
{ {
unsigned int org_code = code; unsigned int org_code = code;
unsigned int pair; unsigned int pair;
...@@ -371,7 +371,6 @@ EXPORT_SYMBOL_GPL(ir_dump_samples); ...@@ -371,7 +371,6 @@ EXPORT_SYMBOL_GPL(ir_dump_samples);
EXPORT_SYMBOL_GPL(ir_decode_biphase); EXPORT_SYMBOL_GPL(ir_decode_biphase);
EXPORT_SYMBOL_GPL(ir_decode_pulsedistance); EXPORT_SYMBOL_GPL(ir_decode_pulsedistance);
EXPORT_SYMBOL_GPL(ir_rc5_decode);
EXPORT_SYMBOL_GPL(ir_rc5_timer_end); EXPORT_SYMBOL_GPL(ir_rc5_timer_end);
EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup); EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup);
......
...@@ -97,7 +97,6 @@ int ir_dump_samples(u32 *samples, int count); ...@@ -97,7 +97,6 @@ int ir_dump_samples(u32 *samples, int count);
int ir_decode_biphase(u32 *samples, int count, int low, int high); int ir_decode_biphase(u32 *samples, int count, int low, int high);
int ir_decode_pulsedistance(u32 *samples, int count, int low, int high); int ir_decode_pulsedistance(u32 *samples, int count, int low, int high);
u32 ir_rc5_decode(unsigned int code);
void ir_rc5_timer_end(unsigned long data); void ir_rc5_timer_end(unsigned long data);
void ir_rc5_timer_keyup(unsigned long data); void ir_rc5_timer_keyup(unsigned long data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册