summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-05 18:07:18 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-05 18:07:18 +0100
commit8a6667f83442a2d051be1dfe253d5a5f31c9c1a8 (patch)
tree8c85a0336fb24267fdfa5df243046fd4b83b397b /linux
parent37097e9091a71691a5daea87b863a431104a596f (diff)
downloadmediapointer-dvb-s2-8a6667f83442a2d051be1dfe253d5a5f31c9c1a8.tar.gz
mediapointer-dvb-s2-8a6667f83442a2d051be1dfe253d5a5f31c9c1a8.tar.bz2
common/ir-functions.c: make a function static
From: Adrian Bunk <bunk@kernel.org> ir_rc5_decode() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/common/ir-functions.c3
-rw-r--r--linux/include/media/ir-common.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/common/ir-functions.c b/linux/drivers/media/common/ir-functions.c
index 86f9f1ea7..e9a8aa5a3 100644
--- a/linux/drivers/media/common/ir-functions.c
+++ b/linux/drivers/media/common/ir-functions.c
@@ -266,7 +266,7 @@ int ir_decode_biphase(u32 *samples, int count, int low, int high)
* saa7134 */
/* 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 pair;
@@ -379,7 +379,6 @@ EXPORT_SYMBOL_GPL(ir_dump_samples);
EXPORT_SYMBOL_GPL(ir_decode_biphase);
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_keyup);
diff --git a/linux/include/media/ir-common.h b/linux/include/media/ir-common.h
index 7a785fa77..b904d3257 100644
--- a/linux/include/media/ir-common.h
+++ b/linux/include/media/ir-common.h
@@ -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_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_keyup(unsigned long data);