[PATCH] USB: drivers/usb/media/sn9c102_core.c: make 2 functions static
authorAdrian Bunk <bunk@stusta.de>
Fri, 22 Apr 2005 22:07:00 +0000 (15:07 -0700)
committerGreg KH <gregkh@suse.de>
Fri, 22 Apr 2005 22:07:00 +0000 (15:07 -0700)
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>
drivers/usb/media/sn9c102_core.c
drivers/usb/media/sn9c102_sensor.h

index 898401cf7dcc51e8c246f25d24152e23e98fc984..31d57400d5bef72d6bf176a84477fd4a2903f40d 100644 (file)
@@ -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)
 {
@@ -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;
 
index 16f7483559f00fd0d47c6b4e6db058320e397bec..6a7adebcb4bfabc4d26d7b5805f46decc9a4f4cb 100644 (file)
@@ -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);