- Subject: [PATCH]make the microtek driver and HAL cooperate
- From: Oliver Neukum <oliver@xxxxxxxxxx>
- Date: Mon, 12 Nov 2007 14:08:43 +0100
- User-agent: KMail/1.9.6 (enterprise 20070904.708012)
Hi,
to make HAL like the microtek driver's devices the parent must be
correctly set.
Regards
Oliver
Signed-off-by: Oliver Neukum <oneukum@xxxxxxx>
----
--- 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/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home]
[Video for Linux]
[Photo]
[Yosemite Forum]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[Free Dating]