diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-04-22 18:07:00 -0400 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-22 18:07:00 -0400 |
commit | 7107627b04b46bce8212e6a6811add5eb8bcb476 (patch) | |
tree | 494ce4cfa89021907ce4e212a4a768aace5a3584 /drivers/usb | |
parent | be5e3383a95446e933be198d3025df10a072794b (diff) |
[PATCH] USB: drivers/usb/media/sn9c102_core.c: make 2 functions static
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/media/sn9c102_core.c | 4 | ||||
-rw-r--r-- | drivers/usb/media/sn9c102_sensor.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/media/sn9c102_core.c b/drivers/usb/media/sn9c102_core.c index 898401cf7dcc..31d57400d5be 100644 --- a/drivers/usb/media/sn9c102_core.c +++ b/drivers/usb/media/sn9c102_core.c | |||
@@ -429,7 +429,7 @@ sn9c102_i2c_try_read(struct sn9c102_device* cam, | |||
429 | } | 429 | } |
430 | 430 | ||
431 | 431 | ||
432 | int | 432 | static int |
433 | sn9c102_i2c_try_write(struct sn9c102_device* cam, | 433 | sn9c102_i2c_try_write(struct sn9c102_device* cam, |
434 | struct sn9c102_sensor* sensor, u8 address, u8 value) | 434 | struct sn9c102_sensor* sensor, u8 address, u8 value) |
435 | { | 435 | { |
@@ -785,7 +785,7 @@ static int sn9c102_stop_transfer(struct sn9c102_device* cam) | |||
785 | } | 785 | } |
786 | 786 | ||
787 | 787 | ||
788 | int sn9c102_stream_interrupt(struct sn9c102_device* cam) | 788 | static int sn9c102_stream_interrupt(struct sn9c102_device* cam) |
789 | { | 789 | { |
790 | int err = 0; | 790 | int err = 0; |
791 | 791 | ||
diff --git a/drivers/usb/media/sn9c102_sensor.h b/drivers/usb/media/sn9c102_sensor.h index 16f7483559f0..6a7adebcb4bf 100644 --- a/drivers/usb/media/sn9c102_sensor.h +++ b/drivers/usb/media/sn9c102_sensor.h | |||
@@ -145,8 +145,6 @@ static const struct usb_device_id sn9c102_id_table[] = { \ | |||
145 | */ | 145 | */ |
146 | 146 | ||
147 | /* The "try" I2C I/O versions are used when probing the sensor */ | 147 | /* The "try" I2C I/O versions are used when probing the sensor */ |
148 | extern int sn9c102_i2c_try_write(struct sn9c102_device*,struct sn9c102_sensor*, | ||
149 | u8 address, u8 value); | ||
150 | extern int sn9c102_i2c_try_read(struct sn9c102_device*,struct sn9c102_sensor*, | 148 | extern int sn9c102_i2c_try_read(struct sn9c102_device*,struct sn9c102_sensor*, |
151 | u8 address); | 149 | u8 address); |
152 | 150 | ||