Skip to content

Commit

Permalink
[PATCH] USB: drivers/usb/media/sn9c102_core.c: make 2 functions static
Browse files Browse the repository at this point in the history
This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Adrian Bunk authored and Greg KH committed Apr 22, 2005
1 parent be5e338 commit 7107627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/media/sn9c102_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ sn9c102_i2c_try_read(struct sn9c102_device* cam,
}


int
static int
sn9c102_i2c_try_write(struct sn9c102_device* cam,
struct sn9c102_sensor* sensor, u8 address, u8 value)
{
Expand Down Expand Up @@ -785,7 +785,7 @@ static int sn9c102_stop_transfer(struct sn9c102_device* cam)
}


int sn9c102_stream_interrupt(struct sn9c102_device* cam)
static int sn9c102_stream_interrupt(struct sn9c102_device* cam)
{
int err = 0;

Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/media/sn9c102_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ static const struct usb_device_id sn9c102_id_table[] = { \
*/

/* The "try" I2C I/O versions are used when probing the sensor */
extern int sn9c102_i2c_try_write(struct sn9c102_device*,struct sn9c102_sensor*,
u8 address, u8 value);
extern int sn9c102_i2c_try_read(struct sn9c102_device*,struct sn9c102_sensor*,
u8 address);

Expand Down

0 comments on commit 7107627

Please sign in to comment.