Skip to content

Commit

Permalink
[media] coda: Do not use __cancel_delayed_work()
Browse files Browse the repository at this point in the history
commit 136b572 (workqueue: deprecate __cancel_delayed_work()) made
__cancel_delayed_work deprecated. Use cancel_delayed_work instead and get rid of
the following warning:
drivers/media/platform/coda.c:1543: warning: '__cancel_delayed_work' is deprecated (declared at include/linux/workqueue.h:437)

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Fabio Estevam authored and Mauro Carvalho Chehab committed Oct 27, 2012
1 parent 01aea0b commit 2249b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/coda.c
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ static irqreturn_t coda_irq_handler(int irq, void *data)
u32 wr_ptr, start_ptr;
struct coda_ctx *ctx;

__cancel_delayed_work(&dev->timeout);
cancel_delayed_work(&dev->timeout);

/* read status register to attend the IRQ */
coda_read(dev, CODA_REG_BIT_INT_STATUS);
Expand Down

0 comments on commit 2249b45

Please sign in to comment.