summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/stv06xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 19:51:50 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 19:51:50 -0200
commitb9dad285d153c7dd8b54848e7125c1e4987f1484 (patch)
tree42253e675840175c7b3d42b3c3908fed2dfa3a4d /linux/drivers/media/video/gspca/stv06xx
parente9727f0a3638c9854002f65c0c5b206a815b0ed1 (diff)
downloadmediapointer-dvb-s2-b9dad285d153c7dd8b54848e7125c1e4987f1484.tar.gz
mediapointer-dvb-s2-b9dad285d153c7dd8b54848e7125c1e4987f1484.tar.bz2
stv06xx: partially revert changeset 7504a804618f
From: Mauro Carvalho Chehab <mchehab@redhat.com> Some functions shouldn't be static. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> CC: Erik Andren <erik.andren@gmail.com> CC: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/stv06xx')
-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;