Messages in this thread Patch in this message | | | From | Thomas Schlichter <> | Subject | Re: 2.6.4-rc2-mm1 | Date | Mon, 8 Mar 2004 21:05:17 +0100 |
| |
Hi,
the bk-usb.patch leads to following error:
drivers/char/watchdog/pcwd_usb.c: In function `usb_pcwd_probe': drivers/char/watchdog/pcwd_usb.c:592: error: structure has no member named `act_altsetting'
The attached patch fixes it.
Best regards Thomas Schlichter --- linux-2.6.4-rc2-mm1/drivers/char/watchdog/pcwd_usb.c.orig 2004-03-04 07:16:39.000000000 +0100 +++ linux-2.6.4-rc2-mm1/drivers/char/watchdog/pcwd_usb.c 2004-03-08 15:07:20.000000000 +0100 @@ -589,7 +589,7 @@ static int usb_pcwd_probe(struct usb_int } /* get the active interface descriptor */ - iface_desc = &interface->altsetting[interface->act_altsetting]; + iface_desc = interface->cur_altsetting; /* check out that we have a HID device */ if (!(iface_desc->desc.bInterfaceClass == USB_CLASS_HID)) { | |