diff options
Diffstat (limited to 'drivers/ide/pci/alim15x3.c')
-rw-r--r-- | drivers/ide/pci/alim15x3.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index 987db35199e6..b5a3bc33e167 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c | |||
@@ -731,7 +731,7 @@ static int __devinit init_dma_ali15x3(ide_hwif_t *hwif, | |||
731 | if (ide_allocate_dma_engine(hwif)) | 731 | if (ide_allocate_dma_engine(hwif)) |
732 | return -1; | 732 | return -1; |
733 | 733 | ||
734 | ide_setup_dma(hwif, base, d); | 734 | ide_setup_dma(hwif, base); |
735 | 735 | ||
736 | return 0; | 736 | return 0; |
737 | } | 737 | } |
@@ -743,8 +743,15 @@ static const struct ide_port_ops ali_port_ops = { | |||
743 | .cable_detect = ali_cable_detect, | 743 | .cable_detect = ali_cable_detect, |
744 | }; | 744 | }; |
745 | 745 | ||
746 | static struct ide_dma_ops ali_dma_ops = { | 746 | static const struct ide_dma_ops ali_dma_ops = { |
747 | .dma_host_set = ide_dma_host_set, | ||
747 | .dma_setup = ali15x3_dma_setup, | 748 | .dma_setup = ali15x3_dma_setup, |
749 | .dma_exec_cmd = ide_dma_exec_cmd, | ||
750 | .dma_start = ide_dma_start, | ||
751 | .dma_end = __ide_dma_end, | ||
752 | .dma_test_irq = ide_dma_test_irq, | ||
753 | .dma_lost_irq = ide_dma_lost_irq, | ||
754 | .dma_timeout = ide_dma_timeout, | ||
748 | }; | 755 | }; |
749 | 756 | ||
750 | static const struct ide_port_info ali15x3_chipset __devinitdata = { | 757 | static const struct ide_port_info ali15x3_chipset __devinitdata = { |