[PATCH] USB: fix ub issues
[deliverable/linux.git] / drivers / block / ub.c
index adc4dcc306f4225f850c24cfe4916e60b2b6f372..19c5e59bcfa826966d433c2edd6f921592a7f40f 100644 (file)
@@ -51,7 +51,7 @@
  * This many LUNs per USB device.
  * Every one of them takes a host, see UB_MAX_HOSTS.
  */
-#define UB_MAX_LUNS   4
+#define UB_MAX_LUNS   9
 
 /*
  */
@@ -2100,7 +2100,7 @@ static int ub_probe(struct usb_interface *intf,
                        nluns = rc;
                        break;
                }
-               mdelay(100);
+               msleep(100);
        }
 
        for (i = 0; i < nluns; i++) {
This page took 0.041676 seconds and 5 git commands to generate.