summaryrefslogtreecommitdiff
path: root/drivers/media/video/stk-sensor.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-29 04:10:58 +0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 17:15:08 +0300
commitfe2b8f50a336bcd51e3d209c5838c573b4b540b3 (patch)
treea4b6420b067463b5c385ffd15134dc61f048505a /drivers/media/video/stk-sensor.c
parentbeb9e780a45a2e21f3d62bd4c71d695aa195fe69 (diff)
downloadlinux-fe2b8f50a336bcd51e3d209c5838c573b4b540b3.tar.xz
V4L/DVB (7104): stk-sensor.c: make 2 functions static
This patch makes the following needlessly global functions static: - stk_sensor_outb() - stk_sensor_inb() Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Jaime Velasco Juan <jsagarribay@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/stk-sensor.c')
-rw-r--r--drivers/media/video/stk-sensor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/stk-sensor.c b/drivers/media/video/stk-sensor.c
index 1a8692d9ee5a..e546b014d7ad 100644
--- a/drivers/media/video/stk-sensor.c
+++ b/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;