]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-floppy.c
ide: remove IDE_AFLAG_NO_DOORLOCKING
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-floppy.c
index 2cf98b531fd933b0184360579222dc50b2b01e21..791a9d6f371c30f79e1e75cad3ecdcd5e9bc4ca7 100644 (file)
@@ -592,7 +592,7 @@ static void idefloppy_setup(ide_drive_t *drive)
                blk_queue_max_sectors(drive->queue, 64);
                drive->atapi_flags |= IDE_AFLAG_CLIK_DRIVE;
                /* IOMEGA Clik! drives do not support lock/unlock commands */
-               drive->atapi_flags |= IDE_AFLAG_NO_DOORLOCK;
+               drive->dev_flags &= ~IDE_DFLAG_DOORLOCKING;
        }
 
        (void) ide_floppy_get_capacity(drive);