From 1a5c5df3dd49acdda584802aa1b7e0cc32476066 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Wed, 27 May 2009 13:02:44 +0000 Subject: 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 --- kernel/xpp/xpp_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/xpp/xpp_usb.c') 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; -- cgit v1.2.3