X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fusb%2Fstorage%2Fjumpshot.c;h=39b24e59f4eaf09f092694868501023e87e13efa;hb=da7238bfbc1c5267bb3c9a79e03b6c296839a07e;hp=77429109c6f6bff43156cdcb0a8bb6201d75be05;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/drivers/usb/storage/jumpshot.c b/drivers/usb/storage/jumpshot.c index 77429109c..39b24e59f 100644 --- a/drivers/usb/storage/jumpshot.c +++ b/drivers/usb/storage/jumpshot.c @@ -253,7 +253,7 @@ static int jumpshot_write_data(struct us_data *us, if (result != USB_STOR_TRANSPORT_GOOD) { // I have not experimented to find the smallest value. // - wait_ms(50); + msleep(50); } } while ((result != USB_STOR_TRANSPORT_GOOD) && (waitcount < 10)); @@ -416,7 +416,7 @@ static int jumpshot_handle_mode_sense(struct us_data *us, } -void jumpshot_info_destructor(void *extra) +static void jumpshot_info_destructor(void *extra) { // this routine is a placeholder... // currently, we don't allocate any extra blocks so we're okay