Loading drivers/media/dvb/frontends/bcm3510.c +3 −2 Original line number Diff line number Diff line Loading @@ -590,7 +590,8 @@ static void bcm3510_release(struct dvb_frontend* fe) */ #define BCM3510_DEFAULT_FIRMWARE "dvb-fe-bcm3510-01.fw" static int bcm3510_write_ram(struct bcm3510_state *st, u16 addr, u8 *b, u16 len) static int bcm3510_write_ram(struct bcm3510_state *st, u16 addr, const u8 *b, u16 len) { int ret = 0,i; bcm3510_register_value vH, vL,vD; Loading @@ -614,7 +615,7 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe) struct bcm3510_state* st = fe->demodulator_priv; const struct firmware *fw; u16 addr,len; u8 *b; const u8 *b; int ret,i; deb_info("requesting firmware\n"); Loading drivers/media/dvb/frontends/nxt200x.c +2 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,8 @@ 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, const u8 *buf, u8 len) { u8 buf2 [len+1]; int err; Loading drivers/media/dvb/frontends/or51211.c +2 −2 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ struct or51211_state { u32 current_frequency; }; static int i2c_writebytes (struct or51211_state* state, u8 reg, u8 *buf, static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, int len) { int err; Loading @@ -77,7 +77,7 @@ static int i2c_writebytes (struct or51211_state* state, u8 reg, u8 *buf, msg.addr = reg; msg.flags = 0; msg.len = len; msg.buf = buf; msg.buf = (u8 *)buf; if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { printk(KERN_WARNING "or51211: i2c_writebytes error " Loading drivers/media/dvb/frontends/sp8870.c +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ static int sp8870_readreg (struct sp8870_state* state, u16 reg) static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) { struct i2c_msg msg; char *fw_buf = fw->data; const char *fw_buf = fw->data; int fw_pos; u8 tx_buf[255]; int tx_len; Loading drivers/media/dvb/frontends/sp887x.c +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ static int sp887x_initial_setup (struct dvb_frontend* fe, const struct firmware u8 buf [BLOCKSIZE+2]; int i; int fw_size = fw->size; unsigned char *mem = fw->data; const unsigned char *mem = fw->data; dprintk("%s\n", __func__); Loading Loading
drivers/media/dvb/frontends/bcm3510.c +3 −2 Original line number Diff line number Diff line Loading @@ -590,7 +590,8 @@ static void bcm3510_release(struct dvb_frontend* fe) */ #define BCM3510_DEFAULT_FIRMWARE "dvb-fe-bcm3510-01.fw" static int bcm3510_write_ram(struct bcm3510_state *st, u16 addr, u8 *b, u16 len) static int bcm3510_write_ram(struct bcm3510_state *st, u16 addr, const u8 *b, u16 len) { int ret = 0,i; bcm3510_register_value vH, vL,vD; Loading @@ -614,7 +615,7 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe) struct bcm3510_state* st = fe->demodulator_priv; const struct firmware *fw; u16 addr,len; u8 *b; const u8 *b; int ret,i; deb_info("requesting firmware\n"); Loading
drivers/media/dvb/frontends/nxt200x.c +2 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,8 @@ 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, const u8 *buf, u8 len) { u8 buf2 [len+1]; int err; Loading
drivers/media/dvb/frontends/or51211.c +2 −2 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ struct or51211_state { u32 current_frequency; }; static int i2c_writebytes (struct or51211_state* state, u8 reg, u8 *buf, static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, int len) { int err; Loading @@ -77,7 +77,7 @@ static int i2c_writebytes (struct or51211_state* state, u8 reg, u8 *buf, msg.addr = reg; msg.flags = 0; msg.len = len; msg.buf = buf; msg.buf = (u8 *)buf; if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { printk(KERN_WARNING "or51211: i2c_writebytes error " Loading
drivers/media/dvb/frontends/sp8870.c +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ static int sp8870_readreg (struct sp8870_state* state, u16 reg) static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) { struct i2c_msg msg; char *fw_buf = fw->data; const char *fw_buf = fw->data; int fw_pos; u8 tx_buf[255]; int tx_len; Loading
drivers/media/dvb/frontends/sp887x.c +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ static int sp887x_initial_setup (struct dvb_frontend* fe, const struct firmware u8 buf [BLOCKSIZE+2]; int i; int fw_size = fw->size; unsigned char *mem = fw->data; const unsigned char *mem = fw->data; dprintk("%s\n", __func__); Loading