diff options
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r-- | linux/drivers/media/video/gspca/stv06xx/stv06xx.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/linux/drivers/media/video/gspca/stv06xx/stv06xx.c b/linux/drivers/media/video/gspca/stv06xx/stv06xx.c index 29e43718b..bb18b64c6 100644 --- a/linux/drivers/media/video/gspca/stv06xx/stv06xx.c +++ b/linux/drivers/media/video/gspca/stv06xx/stv06xx.c @@ -33,10 +33,10 @@ MODULE_AUTHOR("Erik Andrén"); MODULE_DESCRIPTION("STV06XX USB Camera Driver"); MODULE_LICENSE("GPL"); -int dump_bridge; -int dump_sensor; +static int dump_bridge; +static int dump_sensor; -int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) +static int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) { int err; struct usb_device *udev = sd->gspca_dev.dev; @@ -57,7 +57,7 @@ int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data) return (err < 0) ? err : 0; } -int stv06xx_read_bridge(struct sd *sd, u16 address, u8 *i2c_data) +static int stv06xx_read_bridge(struct sd *sd, u16 address, u8 *i2c_data) { int err; struct usb_device *udev = sd->gspca_dev.dev; @@ -77,7 +77,7 @@ int stv06xx_read_bridge(struct sd *sd, u16 address, u8 *i2c_data) /* Wraps the normal write sensor bytes / words functions for writing a single value */ -int stv06xx_write_sensor(struct sd *sd, u8 address, u16 value) +static int stv06xx_write_sensor(struct sd *sd, u8 address, u16 value) { if (sd->sensor->i2c_len == 2) { u16 data[2] = { address, value }; @@ -106,7 +106,7 @@ static int stv06xx_write_sensor_finish(struct sd *sd) return (err < 0) ? err : 0; } -int stv06xx_write_sensor_bytes(struct sd *sd, const u8 *data, u8 len) +static int stv06xx_write_sensor_bytes(struct sd *sd, const u8 *data, u8 len) { int err, i, j; struct usb_device *udev = sd->gspca_dev.dev; @@ -135,7 +135,7 @@ int stv06xx_write_sensor_bytes(struct sd *sd, const u8 *data, u8 len) return stv06xx_write_sensor_finish(sd); } -int stv06xx_write_sensor_words(struct sd *sd, const u16 *data, u8 len) +static int stv06xx_write_sensor_words(struct sd *sd, const u16 *data, u8 len) { int err, i, j; struct usb_device *udev = sd->gspca_dev.dev; @@ -166,7 +166,7 @@ int stv06xx_write_sensor_words(struct sd *sd, const u16 *data, u8 len) return stv06xx_write_sensor_finish(sd); } -int stv06xx_read_sensor(struct sd *sd, const u8 address, u16 *value) +static int stv06xx_read_sensor(struct sd *sd, const u8 address, u16 *value) { int err; struct usb_device *udev = sd->gspca_dev.dev; @@ -476,7 +476,7 @@ static int sd_probe(struct usb_interface *intf, THIS_MODULE); } -void sd_disconnect(struct usb_interface *intf) +static void sd_disconnect(struct usb_interface *intf) { struct gspca_dev *gspca_dev = usb_get_intfdata(intf); struct sd *sd = (struct sd *) gspca_dev; |