summaryrefslogtreecommitdiff
path: root/kernel/xpp/card_bri.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2009-05-27 13:02:44 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2009-05-27 13:02:44 +0000
commit1a5c5df3dd49acdda584802aa1b7e0cc32476066 (patch)
treee001a403ef8772361c2e3ba920f0b0184472b783 /kernel/xpp/card_bri.c
parent28820a3e980eec518a3d5a6fc908bb315dd7af60 (diff)
xpp: 'owner' property of procfs was dropped in 2.6.30.
This adds a compatibility macro for older versions that is a noop for kernels >= 2.6.30. From dahdi-linux r6642, r6659 , regarding issue #14964 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4648 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/xpp/card_bri.c')
-rw-r--r--kernel/xpp/card_bri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/xpp/card_bri.c b/kernel/xpp/card_bri.c
index 7c344af..d4698d9 100644
--- a/kernel/xpp/card_bri.c
+++ b/kernel/xpp/card_bri.c
@@ -799,7 +799,7 @@ static int bri_proc_create(xbus_t *xbus, xpd_t *xpd)
XPD_ERR(xpd, "Failed to create proc file '%s'\n", PROC_BRI_INFO_FNAME);
goto err;
}
- priv->bri_info->owner = THIS_MODULE;
+ SET_PROC_DIRENTRY_OWNER(priv->bri_info);
#endif
return 0;
err: