summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-02-16 17:58:14 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-02-16 17:58:14 +0000
commitbf58d766d87fb516477ad3946aeee78d21fe6c0a (patch)
treea5accf78b35ea09b20fb67a35f93812dfb190928
parenta9ababa28c7ccedaf4be1501d009f99d9a7ba580 (diff)
Merged revisions 958 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r958 | russell | 2006-02-16 12:56:53 -0500 (Thu, 16 Feb 2006) | 2 lines fix build for linux 2.6.16 (issue #6505) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@959 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--xpp/xpp_usb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xpp/xpp_usb.c b/xpp/xpp_usb.c
index 2c8b4a6..5caccb4 100644
--- a/xpp/xpp_usb.c
+++ b/xpp/xpp_usb.c
@@ -362,7 +362,9 @@ MODULE_DEVICE_TABLE (usb, xusb_table);
/* 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,