Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
[sfrench/cifs-2.6.git] / drivers / ide / ide-floppy.c
index c04d33d8dc8d68866a3a3440287736cf91500dfa..1ea2f9e82bf83838caed631413f5cf8dcdb3ded0 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();