aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/alim15x3.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:51 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:51 -0400
commit81e8d5a34f7d2a2acbe309cfa5810a9699a63239 (patch)
treebe8257161e9bbc6f7bd0fe0b7980de94681d3306 /drivers/ide/pci/alim15x3.c
parentcab7f8eda40d3e3e16b137c67cdddc2cf893c5d7 (diff)
ide: remove ide_setup_dma()
Export sff_dma_ops and then remove ide_setup_dma(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/alim15x3.c')
-rw-r--r--drivers/ide/pci/alim15x3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c
index 80d19c0eb780..8015f6f65488 100644
--- a/drivers/ide/pci/alim15x3.c
+++ b/drivers/ide/pci/alim15x3.c
@@ -483,7 +483,9 @@ static int __devinit init_dma_ali15x3(ide_hwif_t *hwif,
483 if (ide_allocate_dma_engine(hwif)) 483 if (ide_allocate_dma_engine(hwif))
484 return -1; 484 return -1;
485 485
486 ide_setup_dma(hwif, base); 486 hwif->dma_base = base;
487
488 hwif->dma_ops = &sff_dma_ops;
487 489
488 return 0; 490 return 0;
489} 491}