summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drm_drv.h b/linux/drm_drv.h
index af372b2e..12d2a532 100644
--- a/linux/drm_drv.h
+++ b/linux/drm_drv.h
@@ -971,8 +971,8 @@ int DRM(release)( struct inode *inode, struct file *filp )
}
up( &dev->struct_sem );
- if (dev->fn_tbl.free_filp_private)
- dev->fn_tbl.free_filp_private( dev, priv );
+ if (dev->fn_tbl.free_filp_priv)
+ dev->fn_tbl.free_filp_priv( dev, priv );
DRM(free)( priv, sizeof(*priv), DRM_MEM_FILES );
/* ========================================================