diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-28 20:10:58 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-18 09:15:08 -0500 |
commit | fe2b8f50a336bcd51e3d209c5838c573b4b540b3 (patch) | |
tree | a4b6420b067463b5c385ffd15134dc61f048505a /drivers/media | |
parent | beb9e780a45a2e21f3d62bd4c71d695aa195fe69 (diff) |
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')
-rw-r--r-- | drivers/media/video/stk-sensor.c | 4 | ||||
-rw-r--r-- | drivers/media/video/stk-webcam.h | 2 |
2 files changed, 2 insertions, 4 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 @@ | |||
225 | 225 | ||
226 | 226 | ||
227 | /* Returns 0 if OK */ | 227 | /* Returns 0 if OK */ |
228 | int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val) | 228 | static int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val) |
229 | { | 229 | { |
230 | int i = 0; | 230 | int i = 0; |
231 | int tmpval = 0; | 231 | int tmpval = 0; |
@@ -250,7 +250,7 @@ int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val) | |||
250 | return 0; | 250 | return 0; |
251 | } | 251 | } |
252 | 252 | ||
253 | int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val) | 253 | static int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val) |
254 | { | 254 | { |
255 | int i = 0; | 255 | int i = 0; |
256 | int tmpval = 0; | 256 | int tmpval = 0; |
diff --git a/drivers/media/video/stk-webcam.h b/drivers/media/video/stk-webcam.h index a2164cb1ad26..df4dfefc5327 100644 --- a/drivers/media/video/stk-webcam.h +++ b/drivers/media/video/stk-webcam.h | |||
@@ -128,8 +128,6 @@ void stk_camera_delete(struct kref *); | |||
128 | int stk_camera_write_reg(struct stk_camera *, u16, u8); | 128 | int stk_camera_write_reg(struct stk_camera *, u16, u8); |
129 | int stk_camera_read_reg(struct stk_camera *, u16, int *); | 129 | int stk_camera_read_reg(struct stk_camera *, u16, int *); |
130 | 130 | ||
131 | int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val); | ||
132 | int stk_sensor_inb(struct stk_camera *dev, u8 reg, u8 *val); | ||
133 | int stk_sensor_init(struct stk_camera *); | 131 | int stk_sensor_init(struct stk_camera *); |
134 | int stk_sensor_configure(struct stk_camera *); | 132 | int stk_sensor_configure(struct stk_camera *); |
135 | int stk_sensor_sleep(struct stk_camera *dev); | 133 | int stk_sensor_sleep(struct stk_camera *dev); |