summaryrefslogtreecommitdiff
path: root/recipes/wlan-ng/wlan-ng-modules/usb-owner.patch
blob: be6c2a9fbbb01f3f9f0198269a2cc9a8c929d227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: linux-wlan-ng-0.2.3/src/prism2/driver/prism2_usb.c
===================================================================
--- linux-wlan-ng-0.2.3.orig/src/prism2/driver/prism2_usb.c	2006-04-18 20:09:17.403457000 +0200
+++ linux-wlan-ng-0.2.3/src/prism2/driver/prism2_usb.c	2006-04-18 20:11:21.064657640 +0200
@@ -313,7 +313,7 @@
 
 
 struct usb_driver prism2_usb_driver = {
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19))
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)))
 	.owner = THIS_MODULE,
 #endif
 	.name = "prism2_usb",