summaryrefslogtreecommitdiff
path: root/kernel/xpp/xpp_usb.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/xpp_usb.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/xpp_usb.c')
-rw-r--r--kernel/xpp/xpp_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/xpp/xpp_usb.c b/kernel/xpp/xpp_usb.c
index 0d6d16a..525f777 100644
--- a/kernel/xpp/xpp_usb.c
+++ b/kernel/xpp/xpp_usb.c
@@ -755,7 +755,7 @@ static int xusb_probe(struct usb_interface *interface, const struct usb_device_i
retval = -EIO;
goto probe_failed;
}
- procsummary->owner = THIS_MODULE;
+ SET_PROC_DIRENTRY_OWNER(procsummary);
#endif
bus_count++;
xusb->xbus_num = xbus->num;