summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-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;