diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-10-24 08:14:16 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-20 15:22:30 -0200 |
commit | 4bb891ebf60eb43ebd04e09bbcad24013067873f (patch) | |
tree | d8dd51fe44ec97fd47a4effd56d6e6f76a120f30 /drivers/media/pci/ivtv | |
parent | b391b0ef0f9399dcba8fa025ab5e5d4229847467 (diff) | |
download | blackbird-obmc-linux-4bb891ebf60eb43ebd04e09bbcad24013067873f.tar.gz blackbird-obmc-linux-4bb891ebf60eb43ebd04e09bbcad24013067873f.zip |
[media] ivtv: ivtv-driver: Replace 'flush_work_sync()'
Since commit 43829731d (workqueue: deprecate flush[_delayed]_work_sync()),
flush_work() should be used instead of flush_work_sync().
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/ivtv')
-rw-r--r-- | drivers/media/pci/ivtv/ivtv-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv/ivtv-driver.c index 74e9a5032364..5d0a5df61078 100644 --- a/drivers/media/pci/ivtv/ivtv-driver.c +++ b/drivers/media/pci/ivtv/ivtv-driver.c @@ -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) |