OSDN Git Service

V4L/DVB (12884): cx18: Eliminate warning about discarding 'const' is assignment for...
authorAndy Walls <awalls@radix.net>
Mon, 7 Sep 2009 17:32:45 +0000 (14:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:14:07 +0000 (00:14 -0300)
commit958411bc484d15c3c3f7579b84b57d3b9d80ff21
treeb70e991c96a93815896b110a8ea9fcb7fed8a884
parent0e12e1536c1b8aaef9baeed09a8f81da393fcba6
V4L/DVB (12884): cx18: Eliminate warning about discarding 'const' is assignment for IR init

i2c-kbd-i2c allows a bridge driver to pass information about IR configuration,
but uses a "void *" to pass along what is essentially constant data.  This
change casts a const * to a void * to remove the warning.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-i2c.c