[etrax] fix a bug inside usb driver, thanks to Jesper Nilsson
authorClaudio Mignanti <c.mignanti@gmail.com>
Fri, 9 Jul 2010 10:58:44 +0000 (10:58 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Fri, 9 Jul 2010 10:58:44 +0000 (10:58 +0000)
SVN-Revision: 22105

target/linux/etrax/files/drivers/usb/host/hc-crisv10.c

index 817e19e..8100870 100644 (file)
@@ -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, "");
+  hcd = usb_create_hcd(&crisv10_hc_driver, dev, dev_name(dev));
   if (!hcd)
     return -ENOMEM;
 
   if (!hcd)
     return -ENOMEM;