Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7107627b authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: drivers/usb/media/sn9c102_core.c: make 2 functions static



This patch makes two needlessly global functions static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent be5e3383
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -429,7 +429,7 @@ sn9c102_i2c_try_read(struct sn9c102_device* cam,
}
}




int 
static int 
sn9c102_i2c_try_write(struct sn9c102_device* cam,
sn9c102_i2c_try_write(struct sn9c102_device* cam,
                      struct sn9c102_sensor* sensor, u8 address, u8 value)
                      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;
	int err = 0;


+0 −2
Original line number Original line Diff line number Diff line
@@ -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 */
/* 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*,
extern int sn9c102_i2c_try_read(struct sn9c102_device*,struct sn9c102_sensor*,
                                u8 address);
                                u8 address);