diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 2058a6f3f331..a9f3127a74ed 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -354,7 +354,7 @@ static void idefloppy_init_pc(struct ide_atapi_pc *pc) | |||
354 | pc->req_xfer = 0; | 354 | pc->req_xfer = 0; |
355 | pc->buf = pc->pc_buf; | 355 | pc->buf = pc->pc_buf; |
356 | pc->buf_size = IDEFLOPPY_PC_BUFFER_SIZE; | 356 | pc->buf_size = IDEFLOPPY_PC_BUFFER_SIZE; |
357 | pc->idefloppy_callback = &ide_floppy_callback; | 357 | pc->callback = ide_floppy_callback; |
358 | } | 358 | } |
359 | 359 | ||
360 | static void idefloppy_create_request_sense_cmd(struct ide_atapi_pc *pc) | 360 | static void idefloppy_create_request_sense_cmd(struct ide_atapi_pc *pc) |
@@ -438,7 +438,7 @@ static ide_startstop_t idefloppy_pc_intr(ide_drive_t *drive) | |||
438 | if (floppy->failed_pc == pc) | 438 | if (floppy->failed_pc == pc) |
439 | floppy->failed_pc = NULL; | 439 | floppy->failed_pc = NULL; |
440 | /* Command finished - Call the callback function */ | 440 | /* Command finished - Call the callback function */ |
441 | pc->idefloppy_callback(drive); | 441 | pc->callback(drive); |
442 | return ide_stopped; | 442 | return ide_stopped; |
443 | } | 443 | } |
444 | 444 | ||
@@ -612,7 +612,7 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive, | |||
612 | pc->error = IDEFLOPPY_ERROR_GENERAL; | 612 | pc->error = IDEFLOPPY_ERROR_GENERAL; |
613 | 613 | ||
614 | floppy->failed_pc = NULL; | 614 | floppy->failed_pc = NULL; |
615 | pc->idefloppy_callback(drive); | 615 | pc->callback(drive); |
616 | return ide_stopped; | 616 | return ide_stopped; |
617 | } | 617 | } |
618 | 618 | ||