diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-05-27 12:48:09 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-05-27 12:48:09 +0000 |
commit | fe10e74fe6eaec7eead23bc8678e1f28f9023eab (patch) | |
tree | d5f3f938675302acd7ed07728202ffaf85d0fe82 /drivers/dahdi/xpp/card_fxs.c | |
parent | a507763f2bdf8cb68a9ef2f9463d04ac98c0a0e6 (diff) |
xpp: Fix more 'owner' for 2.6.30 to be happy.
Finishing the work of r6642. Complitly shut issue #14964.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_fxs.c')
-rw-r--r-- | drivers/dahdi/xpp/card_fxs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_fxs.c b/drivers/dahdi/xpp/card_fxs.c index 0aee211..26ba327 100644 --- a/drivers/dahdi/xpp/card_fxs.c +++ b/drivers/dahdi/xpp/card_fxs.c @@ -358,7 +358,7 @@ static int fxs_proc_create(xbus_t *xbus, xpd_t *xpd) XPD_ERR(xpd, "Failed to create proc file '%s'\n", PROC_FXS_INFO_FNAME); goto err; } - priv->fxs_info->owner = THIS_MODULE; + SET_PROC_DIRENTRY_OWNER(priv->fxs_info); #ifdef WITH_METERING XPD_DBG(PROC, xpd, "Creating Metering tone file\n"); priv->meteringfile = create_proc_entry(PROC_METERING_FNAME, 0200, xpd->proc_xpd_dir); @@ -366,7 +366,7 @@ static int fxs_proc_create(xbus_t *xbus, xpd_t *xpd) XPD_ERR(xpd, "Failed to create proc file '%s'\n", PROC_METERING_FNAME); goto err; } - priv->meteringfile->owner = THIS_MODULE; + SET_PROC_DIRENTRY_OWNER(priv->meteringfile); priv->meteringfile->write_proc = proc_xpd_metering_write; priv->meteringfile->read_proc = NULL; priv->meteringfile->data = xpd; |