From ad549c5ae62fd75aa2bdb8bf5efc4913c476cb02 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Sun, 10 Oct 2004 22:54:55 +0000 Subject: Rename fn_tbl to driver. Core driver now uses pci_driver name which reflects the personality name. --- linux-core/drm_context.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux-core/drm_context.c') 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); } -- cgit v1.2.3