diff options
| -rw-r--r-- | drivers/ide/pci/siimage.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c index 4cf8fc54aa2a..0006b9e58567 100644 --- a/drivers/ide/pci/siimage.c +++ b/drivers/ide/pci/siimage.c | |||
| @@ -737,8 +737,15 @@ static const struct ide_port_ops sil_sata_port_ops = { | |||
| 737 | .cable_detect = sil_cable_detect, | 737 | .cable_detect = sil_cable_detect, |
| 738 | }; | 738 | }; |
| 739 | 739 | ||
| 740 | static struct ide_dma_ops sil_dma_ops = { | 740 | static const struct ide_dma_ops sil_dma_ops = { |
| 741 | .dma_host_set = ide_dma_host_set, | ||
| 742 | .dma_setup = ide_dma_setup, | ||
| 743 | .dma_exec_cmd = ide_dma_exec_cmd, | ||
| 744 | .dma_start = ide_dma_start, | ||
| 745 | .dma_end = __ide_dma_end, | ||
| 741 | .dma_test_irq = siimage_dma_test_irq, | 746 | .dma_test_irq = siimage_dma_test_irq, |
| 747 | .dma_timeout = ide_dma_timeout, | ||
| 748 | .dma_lost_irq = ide_dma_lost_irq, | ||
| 742 | }; | 749 | }; |
| 743 | 750 | ||
| 744 | #define DECLARE_SII_DEV(name_str, p_ops) \ | 751 | #define DECLARE_SII_DEV(name_str, p_ops) \ |
