[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
This commit is contained in:
Claudio Mignanti
2010-07-09 10:58:44 +00:00
parent 159d5fa52e
commit 5c42d22382

View File

@@ -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;