diff options
Diffstat (limited to 'drivers/ide/pci/sc1200.c')
-rw-r--r-- | drivers/ide/pci/sc1200.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index 303bcfb2a441..14c787b5d95f 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c | |||
@@ -292,8 +292,15 @@ static const struct ide_port_ops sc1200_port_ops = { | |||
292 | .udma_filter = sc1200_udma_filter, | 292 | .udma_filter = sc1200_udma_filter, |
293 | }; | 293 | }; |
294 | 294 | ||
295 | static struct ide_dma_ops sc1200_dma_ops = { | 295 | static const struct ide_dma_ops sc1200_dma_ops = { |
296 | .dma_host_set = ide_dma_host_set, | ||
297 | .dma_setup = ide_dma_setup, | ||
298 | .dma_exec_cmd = ide_dma_exec_cmd, | ||
299 | .dma_start = ide_dma_start, | ||
296 | .dma_end = sc1200_dma_end, | 300 | .dma_end = sc1200_dma_end, |
301 | .dma_test_irq = ide_dma_test_irq, | ||
302 | .dma_lost_irq = ide_dma_lost_irq, | ||
303 | .dma_timeout = ide_dma_timeout, | ||
297 | }; | 304 | }; |
298 | 305 | ||
299 | static const struct ide_port_info sc1200_chipset __devinitdata = { | 306 | static const struct ide_port_info sc1200_chipset __devinitdata = { |