aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-07-09 10:58:44 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-07-09 10:58:44 +0000
commit5c42d22382ec9c5efd71fc1f0068890f1978b854 (patch)
tree3c216662f3586ef9da49fe1afee011f669551c4e
parent159d5fa52e559338bd5bae462de983c6446c8484 (diff)
downloadupstream-5c42d22382ec9c5efd71fc1f0068890f1978b854.tar.gz
upstream-5c42d22382ec9c5efd71fc1f0068890f1978b854.tar.bz2
upstream-5c42d22382ec9c5efd71fc1f0068890f1978b854.zip
[etrax] fix a bug inside usb driver, thanks to Jesper Nilsson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22105 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/etrax/files/drivers/usb/host/hc-crisv10.c3
1 files changed, 1 insertions, 2 deletions
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 817e19e505..8100870c1c 100644
--- 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;