tags 358266 patch thanks * Michael Prokop ([EMAIL PROTECTED]) wrote: > Package: qc-usb-source > Version: 0.6.3-1 > Severity: normal > > > Compiling the module against kernel version 2.6.16 fails. > To fix the issue remove the unneeded .owner field from struct > usb_driver in line 3031 in qc-driver.c. This patch will fix it:
diff -urN qc-usb-0.6.3/qc-driver.c
qc-usb-0.6.3-for-linux-2.6.16/qc-driver.c
--- qc-usb-0.6.3/qc-driver.c 2005-04-15 21:32:49.000000000 +0200
+++ qc-usb-0.6.3-for-linux-2.6.16/qc-driver.c 2006-03-22
02:40:40.000000000 +0100
@@ -3028,8 +3028,10 @@
probe: qc_usb_probe,
disconnect: qc_usb_disconnect,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,1)
owner: THIS_MODULE,
+#endif
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
id_table: qc_device_table,
#endif
But I must ask was this driver working for you at all in previous
kernels? I haven't seen it working properly in quite a while.
--
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+
G e h! r- y+
------END GEEK CODE BLOCK------
signature.asc
Description: Digital signature

