mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 17:47:00 +00:00
fix a bug inside usb driver, thanks to Jesper Nilsson
SVN-Revision: 22105
This commit is contained in:
parent
63a7fad924
commit
482557bc88
@ -4706,8 +4706,7 @@ static int __init_or_module devdrv_hcd_probe(struct device *dev)
|
|||||||
return -EPERM;
|
return -EPERM;
|
||||||
}
|
}
|
||||||
|
|
||||||
//XXX: dev->usb_id don't exist, using "" instread? - claudio
|
hcd = usb_create_hcd(&crisv10_hc_driver, dev, dev_name(dev));
|
||||||
hcd = usb_create_hcd(&crisv10_hc_driver, dev, "");
|
|
||||||
if (!hcd)
|
if (!hcd)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user