summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/gspca/stv06xx/stv06xx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/gspca/stv06xx/stv06xx.c b/linux/drivers/media/video/gspca/stv06xx/stv06xx.c
index bb18b64c6..13a021e3c 100644
--- a/linux/drivers/media/video/gspca/stv06xx/stv06xx.c
+++ b/linux/drivers/media/video/gspca/stv06xx/stv06xx.c
@@ -36,7 +36,7 @@ MODULE_LICENSE("GPL");
static int dump_bridge;
static int dump_sensor;
-static int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data)
+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 @@ static int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data)
return (err < 0) ? err : 0;
}
-static int stv06xx_read_bridge(struct sd *sd, u16 address, u8 *i2c_data)
+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 @@ static 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 */
-static int stv06xx_write_sensor(struct sd *sd, u8 address, u16 value)
+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;
}
-static int stv06xx_write_sensor_bytes(struct sd *sd, const u8 *data, u8 len)
+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 @@ static int stv06xx_write_sensor_bytes(struct sd *sd, const u8 *data, u8 len)
return stv06xx_write_sensor_finish(sd);
}
-static int stv06xx_write_sensor_words(struct sd *sd, const u16 *data, u8 len)
+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 @@ static int stv06xx_write_sensor_words(struct sd *sd, const u16 *data, u8 len)
return stv06xx_write_sensor_finish(sd);
}
-static int stv06xx_read_sensor(struct sd *sd, const u8 address, u16 *value)
+int stv06xx_read_sensor(struct sd *sd, const u8 address, u16 *value)
{
int err;
struct usb_device *udev = sd->gspca_dev.dev;