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/gpu/drm | |
parent | 2e5c44c92046c41607794666ffc0d6945945acb0 (diff) | |
download | kernel_samsung_smdk4412-a6665944ef83b6a2db8fc5b323c9fca92375a643.zip kernel_samsung_smdk4412-a6665944ef83b6a2db8fc5b323c9fca92375a643.tar.gz kernel_samsung_smdk4412-a6665944ef83b6a2db8fc5b323c9fca92375a643.tar.bz2 |
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/gpu/drm')
-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 41d9a5b..fe096a7 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); |