summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bttv-i2c.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-11-19 18:07:12 +0000
committerGerd Knorr <devnull@localhost>2004-11-19 18:07:12 +0000
commit7175dee15a08b254c7847bf4bcba6552677eae7f (patch)
treeb3197a92fa5af73a50ca08b577cb3b2ade4ebec6 /linux/drivers/media/video/bttv-i2c.c
parentbe06ee9b223801a7f8f55d5303c84c5068728d16 (diff)
downloadmediapointer-dvb-s2-7175dee15a08b254c7847bf4bcba6552677eae7f.tar.gz
mediapointer-dvb-s2-7175dee15a08b254c7847bf4bcba6552677eae7f.tar.bz2
- misc cleanups.
- blackbird + empress updates.
Diffstat (limited to 'linux/drivers/media/video/bttv-i2c.c')
-rw-r--r--linux/drivers/media/video/bttv-i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/bttv-i2c.c b/linux/drivers/media/video/bttv-i2c.c
index ce4845b31..97bc453d2 100644
--- a/linux/drivers/media/video/bttv-i2c.c
+++ b/linux/drivers/media/video/bttv-i2c.c
@@ -1,5 +1,5 @@
/*
- $Id: bttv-i2c.c,v 1.14 2004/11/17 18:47:47 kraxel Exp $
+ $Id: bttv-i2c.c,v 1.15 2004/11/19 18:07:12 kraxel Exp $
bttv-i2c.c -- all the i2c code is here
@@ -51,7 +51,7 @@ MODULE_PARM_DESC(i2c_scan,"scan i2c bus at insmod time");
/* ----------------------------------------------------------------------- */
/* I2C functions - bitbanging adapter (software i2c) */
-void bttv_bit_setscl(void *data, int state)
+static void bttv_bit_setscl(void *data, int state)
{
struct bttv *btv = (struct bttv*)data;
@@ -63,7 +63,7 @@ void bttv_bit_setscl(void *data, int state)
btread(BT848_I2C);
}
-void bttv_bit_setsda(void *data, int state)
+static void bttv_bit_setsda(void *data, int state)
{
struct bttv *btv = (struct bttv*)data;
@@ -244,7 +244,7 @@ bttv_i2c_readbytes(struct bttv *btv, const struct i2c_msg *msg, int last)
return retval;
}
-int bttv_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num)
+static int bttv_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num)
{
struct bttv *btv = i2c_get_adapdata(i2c_adap);
int retval = 0;