[PATCH]make the microtek driver and HAL cooperate
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, to make HAL like the microtek driver's devices the parent must be correctly set. Regards Oliver Signed-off-by: Oliver Neukum <[email protected]> ---- --- linux-2.6/drivers/usb/image/microtek.c.alt 2007-11-12 12:40:42.000000000 +0100 +++ linux-2.6/drivers/usb/image/microtek.c 2007-11-12 13:22:36.000000000 +0100 @@ -819,7 +819,7 @@ static int mts_usb_probe(struct usb_inte goto out_kfree2; new_desc->host->hostdata[0] = (unsigned long)new_desc; - if (scsi_add_host(new_desc->host, NULL)) { + if (scsi_add_host(new_desc->host, &dev->dev)) { err_retval = -EIO; goto out_host_put; } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel