summaryrefslogtreecommitdiff
path: root/linux-core/drm_context.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-10 22:54:55 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-10 22:54:55 +0000
commitad549c5ae62fd75aa2bdb8bf5efc4913c476cb02 (patch)
tree8501388508ca7005b8401427448d01dd12a3c0b7 /linux-core/drm_context.c
parent3f02a793514a866401119efc74c20512f4732703 (diff)
Rename fn_tbl to driver. Core driver now uses pci_driver name which
reflects the personality name.
Diffstat (limited to 'linux-core/drm_context.c')
-rw-r--r--linux-core/drm_context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index a6fec094..feb4c07a 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -419,8 +419,8 @@ int drm_addctx(struct inode *inode, struct file *filp,
}
if (ctx.handle != DRM_KERNEL_CONTEXT) {
- if (dev->fn_tbl->context_ctor)
- dev->fn_tbl->context_ctor(dev, ctx.handle);
+ if (dev->driver->context_ctor)
+ dev->driver->context_ctor(dev, ctx.handle);
}
ctx_entry = drm_alloc(sizeof(*ctx_entry), DRM_MEM_CTXLIST);
@@ -554,8 +554,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_dtor)
- dev->fn_tbl->context_dtor(dev, ctx.handle);
+ if (dev->driver->context_dtor)
+ dev->driver->context_dtor(dev, ctx.handle);
drm_ctxbitmap_free(dev, ctx.handle);
}