Commit dd5cca4e authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: make the microtek driver and HAL cooperate

patch 5cf1973a in mainline

to make HAL like the microtek driver's devices the parent must be
correctly set.
Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 955ab48d
......@@ -824,7 +824,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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment