Index: linux/drivers/media/dvb/frontends/nxt200x.c =================================================================== RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/nxt200x.c,v retrieving revision 1.7 diff -u -r1.7 nxt200x.c --- linux/drivers/media/dvb/frontends/nxt200x.c 2 Nov 2005 05:09:16 -0000 1.7 +++ linux/drivers/media/dvb/frontends/nxt200x.c 4 Nov 2005 05:11:12 -0000 @@ -67,7 +67,7 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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;