diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-24 15:59:07 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-12-24 15:59:07 +0100 |
commit | a6665944ef83b6a2db8fc5b323c9fca92375a643 (patch) | |
tree | 9fbdefe5e8d078fc17070a3b7b605f2c4f510edf /drivers | |
parent | tpm: don't use flush_scheduled_work() (diff) | |
download | linux-a6665944ef83b6a2db8fc5b323c9fca92375a643.tar.xz linux-a6665944ef83b6a2db8fc5b323c9fca92375a643.zip |
vmwgfx: don't use flush_scheduled_work()
flush_scheduled_work() is deprecated and scheduled to be removed.
Directly flush info->deferred_work on removal instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c index 41d9a5b73c03..fe096a7cc0d7 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c @@ -659,7 +659,7 @@ int vmw_fb_off(struct vmw_private *vmw_priv) par->dirty.active = false; spin_unlock_irqrestore(&par->dirty.lock, flags); - flush_scheduled_work(); + flush_delayed_work_sync(&info->deferred_work); par->bo_ptr = NULL; ttm_bo_kunmap(&par->map); |