diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:51 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:51 -0400 |
commit | 81e8d5a34f7d2a2acbe309cfa5810a9699a63239 (patch) | |
tree | be8257161e9bbc6f7bd0fe0b7980de94681d3306 /drivers/ide/setup-pci.c | |
parent | cab7f8eda40d3e3e16b137c67cdddc2cf893c5d7 (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/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index acb467c6f345..b047013f3652 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -377,7 +377,9 @@ int ide_hwif_setup_dma(ide_hwif_t *hwif, const struct ide_port_info *d) | |||
377 | if (ide_allocate_dma_engine(hwif)) | 377 | if (ide_allocate_dma_engine(hwif)) |
378 | return -1; | 378 | return -1; |
379 | 379 | ||
380 | ide_setup_dma(hwif, base); | 380 | hwif->dma_base = base; |
381 | |||
382 | hwif->dma_ops = &sff_dma_ops; | ||
381 | } | 383 | } |
382 | 384 | ||
383 | return 0; | 385 | return 0; |