Skip to content

Commit

Permalink
V4L/DVB (7104): stk-sensor.c: make 2 functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Mauro Carvalho Chehab committed Feb 18, 2008
1 parent beb9e78 commit fe2b8f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/stk-sensor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions drivers/media/video/stk-webcam.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe2b8f5

Please sign in to comment.