diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-07-23 13:59:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 22:03:28 -0300 |
commit | 36c15f8ee41fbc3d8eaf88bba95be3d50268d5d2 (patch) | |
tree | 8af3e4297ad04213271387df9b41a0cdfc916ca2 /drivers/media/common/saa7146_i2c.c | |
parent | ac247433fe205acf460f05de64a30ee71ea307f2 (diff) | |
download | op-kernel-dev-36c15f8ee41fbc3d8eaf88bba95be3d50268d5d2.zip op-kernel-dev-36c15f8ee41fbc3d8eaf88bba95be3d50268d5d2.tar.gz |
V4L/DVB (5934): dvb-ttpci/saa7146: Replace saa7146_i2c_transfer by generic i2c_transfer
Convert av7110_v4l.c to use i2c_transfer() instead of saa7146_i2c_transfer().
Make saa7146_i2c_transfer() static.
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common/saa7146_i2c.c')
-rw-r--r-- | drivers/media/common/saa7146_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146_i2c.c b/drivers/media/common/saa7146_i2c.c index 8c85efc..f823286 100644 --- a/drivers/media/common/saa7146_i2c.c +++ b/drivers/media/common/saa7146_i2c.c @@ -277,7 +277,7 @@ static int saa7146_i2c_writeout(struct saa7146_dev *dev, u32* dword, int short_d return 0; } -int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int retries) +static int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int retries) { int i = 0, count = 0; u32* buffer = dev->d_i2c.cpu_addr; |