Re: 2.6.4-rc2-mm1

Thomas Schlichter
2004-03-08T20:07:52Z

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

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

[-- Attachment #2: fix-pcwd_usb.diff --]
[-- Type: text/x-diff, Size: 518 bytes --]

--- 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)) {