]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/ide/ide-floppy.c
nvme: cache controller attributes
[linux.git] / drivers / ide / ide-floppy.c
index a8df300f949c2859b9c708d5848795e5cd6d3415..780d33ccc5d84eef81e98f2549667aacbb981c0a 100644 (file)
@@ -276,7 +276,7 @@ static ide_startstop_t ide_floppy_do_request(ide_drive_t *drive,
                switch (ide_req(rq)->type) {
                case ATA_PRIV_MISC:
                case ATA_PRIV_SENSE:
-                       pc = (struct ide_atapi_pc *)rq->special;
+                       pc = (struct ide_atapi_pc *)ide_req(rq)->special;
                        break;
                default:
                        BUG();