V4L/DVB (5840): fix dst and cx24123: tune() callback changed signess for delay
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 16 Jul 2007 12:27:20 +0000 (09:27 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:24:46 +0000 (14:24 -0300)
commit3ea96615381157fc7b94549db559adabd7d4233f
treecd0006f9ad8ec0b2a81e963569a676943096448b
parent260f8d7c4cda79b087a182eb03e8574ba41a171e
V4L/DVB (5840): fix dst and cx24123: tune() callback changed signess for delay

tune() dvb_frontend callback changed delay signess:
        int (*tune)(struct dvb_frontend* fe,
                    struct dvb_frontend_parameters* params,
                    unsigned int mode_flags,
-                   int *delay,
+                   unsigned int *delay,

This change caused warnings on cx24123 and dst modules:

/home/v4l/master/v4l/cx24123.c:1034: warning: initialization from incompatible pointer type
/home/v4l/master/v4l/dst.c:1782: warning: initialization from incompatible pointer type
/home/v4l/master/v4l/dst.c:1808: warning: initialization from incompatible pointer type
/home/v4l/master/v4l/dst.c:1837: warning: initialization from incompatible pointer type
/home/v4l/master/v4l/dst.c:1860: warning: initialization from incompatible pointer type

This patch corrects the function prototype on both modules to follow the
core change.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/bt8xx/dst.c
drivers/media/dvb/frontends/cx24123.c