diff options
Diffstat (limited to 'drivers/ide/mips/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 266ef37a2807..0a59d5ef1599 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -438,15 +438,15 @@ static int auide_dma_test_irq(ide_drive_t *drive) | |||
438 | return 0; | 438 | return 0; |
439 | } | 439 | } |
440 | 440 | ||
441 | static int auide_dma_host_on(ide_drive_t *drive) | 441 | static void auide_dma_host_on(ide_drive_t *drive) |
442 | { | 442 | { |
443 | return 0; | ||
444 | } | 443 | } |
445 | 444 | ||
446 | static int auide_dma_on(ide_drive_t *drive) | 445 | static int auide_dma_on(ide_drive_t *drive) |
447 | { | 446 | { |
448 | drive->using_dma = 1; | 447 | drive->using_dma = 1; |
449 | return auide_dma_host_on(drive); | 448 | |
449 | return 0; | ||
450 | } | 450 | } |
451 | 451 | ||
452 | static void auide_dma_host_off(ide_drive_t *drive) | 452 | static void auide_dma_host_off(ide_drive_t *drive) |
@@ -731,7 +731,7 @@ static int au_ide_probe(struct device *dev) | |||
731 | hwif->dma_setup = &auide_dma_setup; | 731 | hwif->dma_setup = &auide_dma_setup; |
732 | hwif->ide_dma_test_irq = &auide_dma_test_irq; | 732 | hwif->ide_dma_test_irq = &auide_dma_test_irq; |
733 | hwif->dma_host_off = &auide_dma_host_off; | 733 | hwif->dma_host_off = &auide_dma_host_off; |
734 | hwif->ide_dma_host_on = &auide_dma_host_on; | 734 | hwif->dma_host_on = &auide_dma_host_on; |
735 | hwif->ide_dma_lostirq = &auide_dma_lostirq; | 735 | hwif->ide_dma_lostirq = &auide_dma_lostirq; |
736 | hwif->ide_dma_on = &auide_dma_on; | 736 | hwif->ide_dma_on = &auide_dma_on; |
737 | 737 | ||