summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-27 22:01:33 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-27 22:01:33 +0200
commit886d3b3061cdf53f5a353cbaac843f63104d2658 (patch)
treee6d36493735050b7eb69faeb3dab5f080027a68d /linux-core
parent928bdc6c1c9cd1e60f0b070533768aaca56c84d8 (diff)
Bugfixes.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_ttm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c
index 950b0d4d..ad7b279e 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -846,6 +846,7 @@ int drm_ttm_object_create(drm_device_t *dev, unsigned long size,
object->base.unref = NULL;
atomic_set(&object->usage, 1);
+ *ttm_object = object;
return 0;
}