mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 16:50:05 +00:00
tuners: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
3a9282cacd
commit
c63e87e90a
@ -254,7 +254,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
|
|||||||
{
|
{
|
||||||
struct xc2028_data *priv = fe->tuner_priv;
|
struct xc2028_data *priv = fe->tuner_priv;
|
||||||
const struct firmware *fw = NULL;
|
const struct firmware *fw = NULL;
|
||||||
unsigned char *p, *endp;
|
const unsigned char *p, *endp;
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
int n, n_array;
|
int n, n_array;
|
||||||
char name[33];
|
char name[33];
|
||||||
|
@ -278,7 +278,7 @@ static int xc_read_reg(struct xc5000_priv *priv, u16 regAddr, u16 *i2cData)
|
|||||||
return result;
|
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;
|
struct xc5000_priv *priv = fe->tuner_priv;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user