summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/cx24116.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 00:04:35 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 00:04:35 +0000
commitbabdc1f6b72967dbf9b17337d496caa877a5a8dd (patch)
tree2a636b4e958f55b9b3fea2f1749850e6cc6476fd /linux/drivers/media/dvb/frontends/cx24116.c
parentc678cad76b9695b4817bdb236137016b5c30236c (diff)
downloadmediapointer-dvb-s2-babdc1f6b72967dbf9b17337d496caa877a5a8dd.tar.gz
mediapointer-dvb-s2-babdc1f6b72967dbf9b17337d496caa877a5a8dd.tar.bz2
dvb: input data pointer of cx24116_writeregN() should be const
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | drivers/media/dvb/frontends/cx24116.c:573: warning: passing argument 3 of 'cx24116_writeregN' discards qualifiers from pointer target type Make the `data' input pointer parameter of cx24116_writeregN() const to kill the warning. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/cx24116.c')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24116.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24116.c b/linux/drivers/media/dvb/frontends/cx24116.c
index 955e8cfe3..497ea635e 100644
--- a/linux/drivers/media/dvb/frontends/cx24116.c
+++ b/linux/drivers/media/dvb/frontends/cx24116.c
@@ -215,7 +215,7 @@ static int cx24116_writereg(struct cx24116_state *state, int reg, int data)
/* Bulk byte writes to a single I2C address, for 32k firmware load */
static int cx24116_writeregN(struct cx24116_state *state, int reg,
- u8 *data, u16 len)
+ const u8 *data, u16 len)
{
int ret = -EREMOTEIO;
struct i2c_msg msg;