summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2007-10-15 11:54:18 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2007-10-15 11:54:18 +0100
commit2b07b0a45d32a9ffb7f6b9bb1b8f6f8e615524cb (patch)
tree602085427ab7114f1a5a466892d5210f818edfdc
parentcc9be8ac323e47616e48adebc5cc85c654524b45 (diff)
should be unlocked
-rw-r--r--linux-core/intel_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/intel_fb.c b/linux-core/intel_fb.c
index ecfab3ed..c9cb293a 100644
--- a/linux-core/intel_fb.c
+++ b/linux-core/intel_fb.c
@@ -657,7 +657,7 @@ int intelfb_remove(struct drm_device *dev, struct drm_crtc *crtc)
unregister_framebuffer(info);
framebuffer_release(info);
drm_mem_reg_iounmap(dev, &fb->bo->mem, fb->virtual_base);
- drm_bo_usage_deref_locked(&fb->bo);
+ drm_bo_usage_deref_unlocked(&fb->bo);
drm_framebuffer_destroy(fb);
}
return 0;