aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fb_defio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fb_defio.c')
-rw-r--r--drivers/video/fb_defio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fb_defio.c b/drivers/video/fb_defio.c
index 6b93ef93cb12..804000183c5e 100644
--- a/drivers/video/fb_defio.c
+++ b/drivers/video/fb_defio.c
@@ -75,7 +75,7 @@ int fb_deferred_io_fsync(struct file *file, int datasync)
75 return 0; 75 return 0;
76 76
77 /* Kill off the delayed work */ 77 /* Kill off the delayed work */
78 cancel_rearming_delayed_work(&info->deferred_work); 78 cancel_delayed_work_sync(&info->deferred_work);
79 79
80 /* Run it immediately */ 80 /* Run it immediately */
81 return schedule_delayed_work(&info->deferred_work, 0); 81 return schedule_delayed_work(&info->deferred_work, 0);