summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-09-02 12:33:03 +0000
committerDave Airlie <airlied@linux.ie>2004-09-02 12:33:03 +0000
commit838bb7af71b5730de55549a74c8198215c1f1475 (patch)
tree6865baaf23a121567f02695cdf231c1468752cb3 /linux-core
parenta070d15b530da87b835f4a439886eea3c606ac2f (diff)
oops called ctor instead of dtor.. found this on the kernel merge
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index c9ccaa01..e1cb95c6 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -552,8 +552,8 @@ int DRM(rmctx)( struct inode *inode, struct file *filp,
priv->remove_auth_on_close = 1;
}
if ( ctx.handle != DRM_KERNEL_CONTEXT ) {
- if (dev->fn_tbl.context_ctor)
- dev->fn_tbl.context_ctor(dev, ctx.handle);
+ if (dev->fn_tbl.context_dtor)
+ dev->fn_tbl.context_dtor(dev, ctx.handle);
DRM(ctxbitmap_free)( dev, ctx.handle );
}