summaryrefslogtreecommitdiff
path: root/linux-core/nouveau_bo.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/nouveau_bo.c')
-rw-r--r--linux-core/nouveau_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/nouveau_bo.c b/linux-core/nouveau_bo.c
index ab3b23a4..86347e03 100644
--- a/linux-core/nouveau_bo.c
+++ b/linux-core/nouveau_bo.c
@@ -229,7 +229,7 @@ out_cleanup:
if (tmp_mem.mm_node) {
mutex_lock(&dev->struct_mutex);
if (tmp_mem.mm_node != bo->pinned_node)
- drm_mm_put_block(tmp_mem.mm_node);
+ drm_memrange_put_block(tmp_mem.mm_node);
tmp_mem.mm_node = NULL;
mutex_unlock(&dev->struct_mutex);
}