aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/bcm3510.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/bcm3510.c')
-rw-r--r--drivers/media/dvb/frontends/bcm3510.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/bcm3510.c b/drivers/media/dvb/frontends/bcm3510.c
index d268e65e777..cf5e576dfdc 100644
--- a/drivers/media/dvb/frontends/bcm3510.c
+++ b/drivers/media/dvb/frontends/bcm3510.c
@@ -590,7 +590,8 @@ static void bcm3510_release(struct dvb_frontend* fe)
590 */ 590 */
591#define BCM3510_DEFAULT_FIRMWARE "dvb-fe-bcm3510-01.fw" 591#define BCM3510_DEFAULT_FIRMWARE "dvb-fe-bcm3510-01.fw"
592 592
593static int bcm3510_write_ram(struct bcm3510_state *st, u16 addr, u8 *b, u16 len) 593static int bcm3510_write_ram(struct bcm3510_state *st, u16 addr, const u8 *b,
594 u16 len)
594{ 595{
595 int ret = 0,i; 596 int ret = 0,i;
596 bcm3510_register_value vH, vL,vD; 597 bcm3510_register_value vH, vL,vD;
@@ -614,7 +615,7 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe)
614 struct bcm3510_state* st = fe->demodulator_priv; 615 struct bcm3510_state* st = fe->demodulator_priv;
615 const struct firmware *fw; 616 const struct firmware *fw;
616 u16 addr,len; 617 u16 addr,len;
617 u8 *b; 618 const u8 *b;
618 int ret,i; 619 int ret,i;
619 620
620 deb_info("requesting firmware\n"); 621 deb_info("requesting firmware\n");