summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_fxs.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-05-27 12:48:09 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-05-27 12:48:09 +0000
commitccfc59e0b37f3ec1ad0d4dbe6d228ffdad159e60 (patch)
treed5f3f938675302acd7ed07728202ffaf85d0fe82 /drivers/dahdi/xpp/card_fxs.c
parentf92ec1c18850f7adf7185b045faa2aac40fc6fe2 (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.c4
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;