aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/common/tuners/tuner-xc2028.c2
-rw-r--r--drivers/media/common/tuners/xc5000.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c
index 0cbde17bfbb7..30eb07b7f9ef 100644
--- a/drivers/media/common/tuners/tuner-xc2028.c
+++ b/drivers/media/common/tuners/tuner-xc2028.c
@@ -254,7 +254,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
254{ 254{
255 struct xc2028_data *priv = fe->tuner_priv; 255 struct xc2028_data *priv = fe->tuner_priv;
256 const struct firmware *fw = NULL; 256 const struct firmware *fw = NULL;
257 unsigned char *p, *endp; 257 const unsigned char *p, *endp;
258 int rc = 0; 258 int rc = 0;
259 int n, n_array; 259 int n, n_array;
260 char name[33]; 260 char name[33];
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index 7cf4f5bdb2ec..4878d6477a8c 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -278,7 +278,7 @@ static int xc_read_reg(struct xc5000_priv *priv, u16 regAddr, u16 *i2cData)
278 return result; 278 return result;
279} 279}
280 280
281static int xc_load_i2c_sequence(struct dvb_frontend *fe, u8 i2c_sequence[]) 281static int xc_load_i2c_sequence(struct dvb_frontend *fe, const u8 *i2c_sequence)
282{ 282{
283 struct xc5000_priv *priv = fe->tuner_priv; 283 struct xc5000_priv *priv = fe->tuner_priv;
284 284