summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index af372b2e..12d2a532 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -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 );
/* ========================================================