patch for linux 2.6.16-rc4
Peter De Wachter <[email protected]> Thu, 09 Mar 2006 22:37:39 +0100
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <87zmjz1eqk.wl%[email protected]> |
It seems that somewhere in the 2.6.16-rc series the owner field of
struct usb_driver got removed:
diff -u -r1.8 at76c503-fw_skel.c
--- at76c503-fw_skel.c 8 Mar 2005 00:07:55 -0000 1.8
+++ at76c503-fw_skel.c 9 Mar 2006 13:13:08 -0000
@@ -90,7 +90,9 @@
static struct usb_driver module_usb = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,20)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
owner: THIS_MODULE,
+#endif
#endif
name: DRIVER_NAME,
probe: at76c50x_probe,