summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-09-05 23:33:57 +0000
committerDave Airlie <airlied@linux.ie>2004-09-05 23:33:57 +0000
commitc33f4449fc893d5478d9541bc6a80124c8f96ea5 (patch)
tree95217fc42b95e8eb302f7a4eb2350e8cfd65503e
parenteeae6a0a3885f9af9efba7c1e1bcb1e633635717 (diff)
missed fix as part of last checkin
-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 );
/* ========================================================