]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-floppy_ioctl.c
ide: add ide_retry_pc() helper
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-floppy_ioctl.c
index 5ffc4512d14bbeb02cd6d853603e4564d27df9b5..9723ed9c61b44863c8d997f255827e818332e879 100644 (file)
@@ -195,7 +195,7 @@ static int ide_floppy_get_format_progress(ide_drive_t *drive, int __user *arg)
        int progress_indication = 0x10000;
 
        if (drive->atapi_flags & IDE_AFLAG_SRFP) {
-               ide_floppy_create_request_sense_cmd(&pc);
+               ide_create_request_sense_cmd(drive, &pc);
                if (ide_queue_pc_tail(drive, floppy->disk, &pc))
                        return -EIO;