From 482557bc886ac4f031f4e784e2466367fd47d65c Mon Sep 17 00:00:00 2001 From: Claudio Mignanti Date: Fri, 9 Jul 2010 10:58:44 +0000 Subject: [PATCH] fix a bug inside usb driver, thanks to Jesper Nilsson SVN-Revision: 22105 --- target/linux/etrax/files/drivers/usb/host/hc-crisv10.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- 2.30.2