summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/stk-sensor.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-28 22:10:58 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-28 22:10:58 +0000
commit5e06720c8034b2f065cfccb91538f37de78e08bb (patch)
treee697dfa69d2843df10d84bb65a075680e25b4aec /linux/drivers/media/video/stk-sensor.c
parent4a636593b1830d9139b97e94dca6ce60b95fd2c4 (diff)
downloadmediapointer-dvb-s2-5e06720c8034b2f065cfccb91538f37de78e08bb.tar.gz
mediapointer-dvb-s2-5e06720c8034b2f065cfccb91538f37de78e08bb.tar.bz2
stk-sensor.c: make 2 functions static
From: Adrian Bunk <bunk@kernel.org> This patch makes the following needlessly global functions static: - stk_sensor_outb() - stk_sensor_inb() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/stk-sensor.c')
-rw-r--r--linux/drivers/media/video/stk-sensor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/stk-sensor.c b/linux/drivers/media/video/stk-sensor.c
index 1a8692d9e..e546b014d 100644
--- a/linux/drivers/media/video/stk-sensor.c
+++ b/linux/drivers/media/video/stk-sensor.c
@@ -225,7 +225,7 @@
/* Returns 0 if OK */
-int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val)
+static int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val)
{
int i = 0;
int tmpval = 0;
@@ -250,7 +250,7 @@ int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val)
return 0;
}
-int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val)
+static int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val)
{
int i = 0;
int tmpval = 0;