提交 4bb891eb 编写于 作者: F Fabio Estevam 提交者: Mauro Carvalho Chehab

[media] ivtv: ivtv-driver: Replace 'flush_work_sync()'

Since commit 43829731 (workqueue: deprecate flush[_delayed]_work_sync()),
flush_work() should be used instead of flush_work_sync().
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
Acked-by: NTejun Heo <tj@kernel.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 b391b0ef
......@@ -304,7 +304,7 @@ static void request_modules(struct ivtv *dev)
static void flush_request_modules(struct ivtv *dev)
{
flush_work_sync(&dev->request_module_wk);
flush_work(&dev->request_module_wk);
}
#else
#define request_modules(dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册