summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-11-04 05:48:38 +0000
committerMichael Krufky <devnull@localhost>2005-11-04 05:48:38 +0000
commit71e020c44d96abbdde78c1ed3fbb88f7ef24a1fe (patch)
tree4357373c79016d2d54b65af3f4e9a0874e99c546 /linux/drivers/media/dvb
parent23b9f4b52c46bf62f6d090d6693cd7564be5e0a4 (diff)
downloadmediapointer-dvb-s2-71e020c44d96abbdde78c1ed3fbb88f7ef24a1fe.tar.gz
mediapointer-dvb-s2-71e020c44d96abbdde78c1ed3fbb88f7ef24a1fe.tar.bz2
- Change length types from u8 to int.
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/nxt200x.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/frontends/nxt200x.c b/linux/drivers/media/dvb/frontends/nxt200x.c
index 75450fee2..7db00a381 100644
--- a/linux/drivers/media/dvb/frontends/nxt200x.c
+++ b/linux/drivers/media/dvb/frontends/nxt200x.c
@@ -67,7 +67,7 @@ static int debug;
if (debug) printk(KERN_DEBUG "nxt200x: " args); \
} while (0)
-static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len)
+static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, int len)
{
int err;
struct i2c_msg msg = { .addr = addr, .flags = 0, .buf = buf, .len = len };
@@ -80,7 +80,7 @@ static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len
return 0;
}
-static u8 i2c_readbytes (struct nxt200x_state* state, u8 addr, u8* buf, u8 len)
+static u8 i2c_readbytes (struct nxt200x_state* state, u8 addr, u8* buf, int len)
{
int err;
struct i2c_msg msg = { .addr = addr, .flags = I2C_M_RD, .buf = buf, .len = len };
@@ -93,7 +93,7 @@ static u8 i2c_readbytes (struct nxt200x_state* state, u8 addr, u8* buf, u8 len)
return 0;
}
-static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, u8 *buf, u8 len)
+static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, u8 *buf, int len)
{
u8 buf2 [len+1];
int err;
@@ -110,7 +110,7 @@ static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, u8 *buf, u8
return 0;
}
-static u8 nxt200x_readbytes (struct nxt200x_state* state, u8 reg, u8* buf, u8 len)
+static u8 nxt200x_readbytes (struct nxt200x_state* state, u8 reg, u8* buf, int len)
{
u8 reg2 [] = { reg };
@@ -143,7 +143,7 @@ static u16 nxt200x_crc(u16 crc, u8 c)
return crc;
}
-static int nxt200x_writereg_multibyte (struct nxt200x_state* state, u8 reg, u8* data, u8 len)
+static int nxt200x_writereg_multibyte (struct nxt200x_state* state, u8 reg, u8* data, int len)
{
u8 attr, len2, buf;
dprintk("%s\n", __FUNCTION__);
@@ -203,7 +203,7 @@ static int nxt200x_writereg_multibyte (struct nxt200x_state* state, u8 reg, u8*
return 0;
}
-static int nxt200x_readreg_multibyte (struct nxt200x_state* state, u8 reg, u8* data, u8 len)
+static int nxt200x_readreg_multibyte (struct nxt200x_state* state, u8 reg, u8* data, int len)
{
int i;
u8 buf, len2, attr;