Call teardown_timer in drm_vblank_cleanup.

This commit is contained in:
riastradh 2014-07-06 15:44:55 +00:00
parent 09cdf1daa9
commit 93a48a0153
1 changed files with 3 additions and 0 deletions

View File

@ -207,6 +207,9 @@ void drm_vblank_cleanup(struct drm_device *dev)
return;
del_timer_sync(&dev->vblank_disable_timer);
#ifdef __NetBSD__
teardown_timer(&dev->vblank_disable_timer);
#endif
vblank_disable_fn((unsigned long)dev);