summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 23:16:26 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 23:16:26 -0300
commit5d7e2f60cbdb5f84c0117590153567ea607618a8 (patch)
tree65a74abde3cde516134bbe496d47e529a35ae9f7 /linux/drivers/media
parent5c1a1372115a81f18824591abc20d1d8d56da3d9 (diff)
downloadmediapointer-dvb-s2-5d7e2f60cbdb5f84c0117590153567ea607618a8.tar.gz
mediapointer-dvb-s2-5d7e2f60cbdb5f84c0117590153567ea607618a8.tar.bz2
backport commit c63e87e90abb5d3ecd05d6c6eba94163bf8c1760
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: David Woodhouse <dwmw2@infradead.org> Date: Sat May 24 00:13:34 2008 +0100 tuners: treat firmware data as const kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/common/tuners/tuner-xc2028.c2
-rw-r--r--linux/drivers/media/common/tuners/xc5000.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/common/tuners/tuner-xc2028.c b/linux/drivers/media/common/tuners/tuner-xc2028.c
index 88fd2c91c..a3272e81e 100644
--- a/linux/drivers/media/common/tuners/tuner-xc2028.c
+++ b/linux/drivers/media/common/tuners/tuner-xc2028.c
@@ -259,7 +259,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/linux/drivers/media/common/tuners/xc5000.c b/linux/drivers/media/common/tuners/xc5000.c
index 63b4dba44..e0f045e1b 100644
--- a/linux/drivers/media/common/tuners/xc5000.c
+++ b/linux/drivers/media/common/tuners/xc5000.c
@@ -282,7 +282,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;