summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_drv.c4
-rw-r--r--linux/drm_drv.h4
2 files changed, 4 insertions, 4 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 );
/* ========================================================
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 );
/* ========================================================