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_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-core/drm_vm.c') diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index 6bfb4f10..70737a3c 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -577,7 +577,7 @@ int drm_mmap(struct file *filp, struct vm_area_struct *vma) map = r_list->map; if (!map) continue; - off = dev->fn_tbl->get_map_ofs(map); + off = dev->driver->get_map_ofs(map); if (off == VM_OFFSET(vma)) break; } @@ -638,7 +638,7 @@ int drm_mmap(struct file *filp, struct vm_area_struct *vma) vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); #endif - offset = dev->fn_tbl->get_reg_ofs(dev); + offset = dev->driver->get_reg_ofs(dev); #ifdef __sparc__ if (io_remap_page_range(DRM_RPR_ARG(vma) vma->vm_start, VM_OFFSET(vma) + offset, -- cgit v1.2.3