summaryrefslogtreecommitdiff
path: root/xpp/xpp_usb.c
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-02-16 17:56:53 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-02-16 17:56:53 +0000
commit31a41eeb5489f4b26f892bd4100e8a734d4485ad (patch)
tree32d541e8744561ccc31303275a166082480e6eb9 /xpp/xpp_usb.c
parent41e0e5c06fead266ce179424b18134aeac2c5762 (diff)
fix build for linux 2.6.16 (issue #6505)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@958 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpp_usb.c')
-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,