lkml.org 
[lkml]   [2004]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.6.4-rc2-mm1
Date
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)) {
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.196 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site