From c33f4449fc893d5478d9541bc6a80124c8f96ea5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 5 Sep 2004 23:33:57 +0000 Subject: missed fix as part of last checkin --- linux-core/drm_drv.c | 4 ++-- linux/drm_drv.h | 4 ++-- 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 ); /* ======================================================== -- cgit v1.2.3