projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a bug inside usb driver, thanks to Jesper Nilsson
[librecmc/librecmc.git]
/
target
/
linux
/
etrax
/
files
/
drivers
/
usb
/
host
/
hc-crisv10.c
diff --git
a/target/linux/etrax/files/drivers/usb/host/hc-crisv10.c
b/target/linux/etrax/files/drivers/usb/host/hc-crisv10.c
index 817e19e505854e37d48e08af74989374f9e8344a..8100870c1cc60b18e6ec75f31ddc543dcfc60e1a 100644
(file)
--- a/
target/linux/etrax/files/drivers/usb/host/hc-crisv10.c
+++ b/
target/linux/etrax/files/drivers/usb/host/hc-crisv10.c
@@
-4706,8
+4706,7
@@
static int __init_or_module devdrv_hcd_probe(struct device *dev)
return -EPERM;
}
- //XXX: dev->usb_id don't exist, using "" instread? - claudio
- hcd = usb_create_hcd(&crisv10_hc_driver, dev, "");
+ hcd = usb_create_hcd(&crisv10_hc_driver, dev, dev_name(dev));
if (!hcd)
return -ENOMEM;