projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a9bee8
)
USB: make the microtek driver and HAL cooperate
author
Oliver Neukum
<oliver@neukum.org>
Mon, 12 Nov 2007 13:08:43 +0000
(14:08 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 28 Nov 2007 21:58:35 +0000
(13:58 -0800)
to make HAL like the microtek driver's devices the parent must be
correctly set.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/image/microtek.c
patch
|
blob
|
history
diff --git
a/drivers/usb/image/microtek.c
b/drivers/usb/image/microtek.c
index 91e999c9f680cec92aed6c38fa58698820d3754e..bc207e3c21f51f193bd6de504b8add1761670cd8 100644
(file)
--- a/
drivers/usb/image/microtek.c
+++ b/
drivers/usb/image/microtek.c
@@
-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;
}