aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sl82c105.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/sl82c105.c')
-rw-r--r--drivers/ide/pci/sl82c105.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c
index 635d607bc0cf..ce84fa045d39 100644
--- a/drivers/ide/pci/sl82c105.c
+++ b/drivers/ide/pci/sl82c105.c
@@ -288,9 +288,13 @@ static const struct ide_port_ops sl82c105_port_ops = {
288 .resetproc = sl82c105_resetproc, 288 .resetproc = sl82c105_resetproc,
289}; 289};
290 290
291static struct ide_dma_ops sl82c105_dma_ops = { 291static const struct ide_dma_ops sl82c105_dma_ops = {
292 .dma_host_set = ide_dma_host_set,
293 .dma_setup = ide_dma_setup,
294 .dma_exec_cmd = ide_dma_exec_cmd,
292 .dma_start = sl82c105_dma_start, 295 .dma_start = sl82c105_dma_start,
293 .dma_end = sl82c105_dma_end, 296 .dma_end = sl82c105_dma_end,
297 .dma_test_irq = ide_dma_test_irq,
294 .dma_lost_irq = sl82c105_dma_lost_irq, 298 .dma_lost_irq = sl82c105_dma_lost_irq,
295 .dma_timeout = sl82c105_dma_timeout, 299 .dma_timeout = sl82c105_dma_timeout,
296}; 300};