diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-05-24 00:13:34 +0100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-06-16 09:58:26 +1000 |
commit | 058a29fa28099fb11f36e104e91346b9099afbf0 (patch) | |
tree | 68d9ce182a1c88e975ce65d5a0bc276e5ecfc389 /drivers | |
parent | dd6b74e6635c105b9f46157663e8931e8f9f31a3 (diff) |
tuners: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.c | 2 | ||||
-rw-r--r-- | drivers/media/common/tuners/xc5000.c | 2 |
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) { struct xc2028_data *priv = fe->tuner_priv; const struct firmware *fw = NULL; - unsigned char *p, *endp; + const unsigned char *p, *endp; int rc = 0; int n, n_array; char name[33]; diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index ceae6db901ec..d21a5a750ce2 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c @@ -277,7 +277,7 @@ static int xc_read_reg(struct xc5000_priv *priv, u16 regAddr, u16 *i2cData) return result; } -static int xc_load_i2c_sequence(struct dvb_frontend *fe, u8 i2c_sequence[]) +static int xc_load_i2c_sequence(struct dvb_frontend *fe, const u8 *i2c_sequence) { struct xc5000_priv *priv = fe->tuner_priv; |