aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r--drivers/ide/ide-floppy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index 49e702670b8e..6a1ade8ca9fe 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -208,8 +208,8 @@ void ide_floppy_create_request_sense_cmd(struct ide_atapi_pc *pc)
208static void idefloppy_retry_pc(ide_drive_t *drive) 208static void idefloppy_retry_pc(ide_drive_t *drive)
209{ 209{
210 struct ide_floppy_obj *floppy = drive->driver_data; 210 struct ide_floppy_obj *floppy = drive->driver_data;
211 struct request *rq = &floppy->request_sense_rq; 211 struct request *rq = &drive->request_sense_rq;
212 struct ide_atapi_pc *pc = &floppy->request_sense_pc; 212 struct ide_atapi_pc *pc = &drive->request_sense_pc;
213 213
214 (void)ide_read_error(drive); 214 (void)ide_read_error(drive);
215 ide_floppy_create_request_sense_cmd(pc); 215 ide_floppy_create_request_sense_cmd(pc);