Commit fe2b8f50 authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab

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: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarJaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent beb9e780
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
/* Returns 0 if OK */ /* 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 i = 0;
int tmpval = 0; int tmpval = 0;
...@@ -250,7 +250,7 @@ int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val) ...@@ -250,7 +250,7 @@ int stk_sensor_outb(struct stk_camera *dev, u8 reg, u8 val)
return 0; 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 i = 0;
int tmpval = 0; int tmpval = 0;
......
...@@ -128,8 +128,6 @@ void stk_camera_delete(struct kref *); ...@@ -128,8 +128,6 @@ void stk_camera_delete(struct kref *);
int stk_camera_write_reg(struct stk_camera *, u16, u8); int stk_camera_write_reg(struct stk_camera *, u16, u8);
int stk_camera_read_reg(struct stk_camera *, u16, int *); 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_init(struct stk_camera *);
int stk_sensor_configure(struct stk_camera *); int stk_sensor_configure(struct stk_camera *);
int stk_sensor_sleep(struct stk_camera *dev); int stk_sensor_sleep(struct stk_camera *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment