summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2007-11-28 14:50:02 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-12-14 10:31:55 -0800
commit97ce253a31e0208733fc8a3c40e09dea7308766c (patch)
treec16f82b7f1ef0461ae96f9365da8aabc5c509c3b
parent8722ad3d040169978c9706f51d1d43a70d9b6c89 (diff)
downloadlwn-97ce253a31e0208733fc8a3c40e09dea7308766c.tar.gz
lwn-97ce253a31e0208733fc8a3c40e09dea7308766c.zip
USB: make the microtek driver and HAL cooperate
patch 5cf1973a44bd298e3cfce6f6af8faa8c9d0a6d55 in mainline to make HAL like the microtek driver's devices the parent must be correctly set. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/image/microtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c
index 51bd80d2b8cc..3acfd1a0107f 100644
--- a/drivers/usb/image/microtek.c
+++ b/drivers/usb/image/microtek.c
@@ -823,7 +823,7 @@ static int mts_usb_probe(struct usb_interface *intf,
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;
}