summaryrefslogtreecommitdiff
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
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>
-rw-r--r--linux/drivers/media/video/stk-sensor.c4
-rw-r--r--linux/drivers/media/video/stk-webcam.h2
2 files changed, 2 insertions, 4 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;
diff --git a/linux/drivers/media/video/stk-webcam.h b/linux/drivers/media/video/stk-webcam.h
index a2164cb1a..df4dfefc5 100644
--- a/linux/drivers/media/video/stk-webcam.h
+++ b/linux/drivers/media/video/stk-webcam.h
@@ -128,8 +128,6 @@ void stk_camera_delete(struct kref *);
int stk_camera_write_reg(struct stk_camera *, u16, u8);
int stk_camera_read_reg(struct stk_camera *, u16, int *);
-int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val);
-int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val);
int stk_sensor_init(struct stk_camera *);
int stk_sensor_configure(struct stk_camera *);
int stk_sensor_sleep(struct stk_camera *dev);