]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/image/microtek.c
USB: make the microtek driver and HAL cooperate
[linux-2.6-omap-h63xx.git] / drivers / usb / image / microtek.c
index 91e999c9f680cec92aed6c38fa58698820d3754e..bc207e3c21f51f193bd6de504b8add1761670cd8 100644 (file)
@@ -819,7 +819,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;
        }