Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH] [media] coda: Do not use __cancel_delayed_work()
@ 2012-10-10  3:33 Fabio Estevam
  2012-10-10  3:43 ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2012-10-10  3:33 UTC (permalink / raw)
  To: mchehab; +Cc: javier.martin, linux-media, tj, kernel, Fabio Estevam

From: Fabio Estevam <fabio.estevam@freescale.com>

commit 136b5721d (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>
---
 drivers/media/platform/coda.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index cd04ae2..7640505 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -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);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-10  6:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-10  3:33 [PATCH] [media] coda: Do not use __cancel_delayed_work() Fabio Estevam
2012-10-10  3:43 ` Tejun Heo
2012-10-10  6:52   ` javier Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox