patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / usb / storage / datafab.c
index 832894d..58baacc 100644 (file)
@@ -321,7 +321,7 @@ static int datafab_determine_lun(struct us_data *us,
                        goto leave;
                }
 
-               wait_ms(20);
+               msleep(20);
        }
 
        rc = USB_STOR_TRANSPORT_ERROR;
@@ -489,7 +489,7 @@ static int datafab_handle_mode_sense(struct us_data *us,
        return USB_STOR_TRANSPORT_GOOD;
 }
 
-void datafab_info_destructor(void *extra)
+static void datafab_info_destructor(void *extra)
 {
        // this routine is a placeholder...
        // currently, we don't allocate any extra memory so we're okay