The patch number 9275 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Geert Uytterhoeven  <[EMAIL PROTECTED]>
dvb: input data pointer of cx24116_writeregN() should be const


| 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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/cx24116.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 4ea34d41282c -r f00811a2736a linux/drivers/media/dvb/frontends/cx24116.c
--- a/linux/drivers/media/dvb/frontends/cx24116.c       Thu Oct 16 23:20:19 
2008 -0400
+++ b/linux/drivers/media/dvb/frontends/cx24116.c       Fri Oct 17 00:04:35 
2008 +0000
@@ -215,7 +215,7 @@ static int cx24116_writereg(struct cx241
 
 /* 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;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/f00811a2736abf7fad705f5e0095b59a5a747e3b

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to