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 | ccfc59e0b37f3ec1ad0d4dbe6d228ffdad159e60 (patch) | |
tree | d5f3f938675302acd7ed07728202ffaf85d0fe82 /drivers/dahdi/xpp/card_fxo.c | |
parent | f92ec1c18850f7adf7185b045faa2aac40fc6fe2 (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_fxo.c')
-rw-r--r-- | drivers/dahdi/xpp/card_fxo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_fxo.c b/drivers/dahdi/xpp/card_fxo.c index 9e618a6..b06fb3b 100644 --- a/drivers/dahdi/xpp/card_fxo.c +++ b/drivers/dahdi/xpp/card_fxo.c @@ -405,7 +405,7 @@ static int fxo_proc_create(xbus_t *xbus, xpd_t *xpd) XPD_ERR(xpd, "Failed to create proc file '%s'\n", PROC_FXO_INFO_FNAME); goto err; } - priv->fxo_info->owner = THIS_MODULE; + SET_PROC_DIRENTRY_OWNER(priv->fxo_info); #ifdef WITH_METERING XPD_DBG(PROC, xpd, "Creating Metering tone file\n"); priv->meteringfile = create_proc_read_entry(PROC_METERING_FNAME, 0444, xpd->proc_xpd_dir, @@ -414,7 +414,7 @@ static int fxo_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); #endif #endif return 0; |