[zaptel-commits] branch 1.2 r958 - /branches/1.2/xpp/xpp_usb.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Feb 16 10:56:54 MST 2006


Author: russell
Date: Thu Feb 16 11:56:53 2006
New Revision: 958

URL: http://svn.digium.com/view/zaptel?rev=958&view=rev
Log:
fix build for linux 2.6.16 (issue #6505)

Modified:
    branches/1.2/xpp/xpp_usb.c

Modified: branches/1.2/xpp/xpp_usb.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/xpp_usb.c?rev=958&r1=957&r2=958&view=diff
==============================================================================
--- branches/1.2/xpp/xpp_usb.c (original)
+++ branches/1.2/xpp/xpp_usb.c Thu Feb 16 11:56:53 2006
@@ -362,7 +362,9 @@
 
 /* usb specific object needed to register this driver with the usb subsystem */
 static struct usb_driver xusb_driver = {
-	.owner =	THIS_MODULE,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
+        .owner: THIS_MODULE,
+#endif
 	.name =		"xpp_usb",
 	.probe =	xusb_probe,
 	.disconnect =	xusb_disconnect,



More information about the zaptel-commits mailing list