aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/mips/au1xxx-ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/mips/au1xxx-ide.c')
-rw-r--r--drivers/ide/mips/au1xxx-ide.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c
index 4dfdca4ccbde..27abff6f6ba2 100644
--- a/drivers/ide/mips/au1xxx-ide.c
+++ b/drivers/ide/mips/au1xxx-ide.c
@@ -395,11 +395,7 @@ static int auide_dma_test_irq(ide_drive_t *drive)
395 return 0; 395 return 0;
396} 396}
397 397
398static void auide_dma_host_on(ide_drive_t *drive) 398static void auide_dma_host_set(ide_drive_t *drive, int on)
399{
400}
401
402static void auide_dma_host_off(ide_drive_t *drive)
403{ 399{
404} 400}
405 401
@@ -674,13 +670,12 @@ static int au_ide_probe(struct device *dev)
674 670
675 hwif->mdma_filter = &auide_mdma_filter; 671 hwif->mdma_filter = &auide_mdma_filter;
676 672
673 hwif->dma_host_set = &auide_dma_host_set;
677 hwif->dma_exec_cmd = &auide_dma_exec_cmd; 674 hwif->dma_exec_cmd = &auide_dma_exec_cmd;
678 hwif->dma_start = &auide_dma_start; 675 hwif->dma_start = &auide_dma_start;
679 hwif->ide_dma_end = &auide_dma_end; 676 hwif->ide_dma_end = &auide_dma_end;
680 hwif->dma_setup = &auide_dma_setup; 677 hwif->dma_setup = &auide_dma_setup;
681 hwif->ide_dma_test_irq = &auide_dma_test_irq; 678 hwif->ide_dma_test_irq = &auide_dma_test_irq;
682 hwif->dma_host_off = &auide_dma_host_off;
683 hwif->dma_host_on = &auide_dma_host_on;
684 hwif->dma_lost_irq = &auide_dma_lost_irq; 679 hwif->dma_lost_irq = &auide_dma_lost_irq;
685#else /* !CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA */ 680#else /* !CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA */
686 hwif->channel = 0; 681 hwif->channel = 0;