diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:46 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:46 -0400 |
commit | 653bcf5292a9ac4ffc07315198f0ef995e0646a8 (patch) | |
tree | b13dcb203ecce6bd87297d9652be0a08d3528080 /drivers/ide/pci/cmd64x.c | |
parent | f5e0b5ecb3afc8050259003067b6a1aef3635f12 (diff) |
ide: __ide_dma_end() -> ide_dma_end()
While at it:
- use EXPORT_SYMBOL_GPL() to match the rest of SFF DMA functions
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/cmd64x.c')
-rw-r--r-- | drivers/ide/pci/cmd64x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c index bb89c505074c..935385c77e06 100644 --- a/drivers/ide/pci/cmd64x.c +++ b/drivers/ide/pci/cmd64x.c | |||
@@ -228,7 +228,7 @@ static int cmd648_dma_end(ide_drive_t *drive) | |||
228 | { | 228 | { |
229 | ide_hwif_t *hwif = HWIF(drive); | 229 | ide_hwif_t *hwif = HWIF(drive); |
230 | unsigned long base = hwif->dma_base - (hwif->channel * 8); | 230 | unsigned long base = hwif->dma_base - (hwif->channel * 8); |
231 | int err = __ide_dma_end(drive); | 231 | int err = ide_dma_end(drive); |
232 | u8 irq_mask = hwif->channel ? MRDMODE_INTR_CH1 : | 232 | u8 irq_mask = hwif->channel ? MRDMODE_INTR_CH1 : |
233 | MRDMODE_INTR_CH0; | 233 | MRDMODE_INTR_CH0; |
234 | u8 mrdmode = inb(base + 1); | 234 | u8 mrdmode = inb(base + 1); |
@@ -248,7 +248,7 @@ static int cmd64x_dma_end(ide_drive_t *drive) | |||
248 | u8 irq_mask = hwif->channel ? ARTTIM23_INTR_CH1 : | 248 | u8 irq_mask = hwif->channel ? ARTTIM23_INTR_CH1 : |
249 | CFR_INTR_CH0; | 249 | CFR_INTR_CH0; |
250 | u8 irq_stat = 0; | 250 | u8 irq_stat = 0; |
251 | int err = __ide_dma_end(drive); | 251 | int err = ide_dma_end(drive); |
252 | 252 | ||
253 | (void) pci_read_config_byte(dev, irq_reg, &irq_stat); | 253 | (void) pci_read_config_byte(dev, irq_reg, &irq_stat); |
254 | /* clear the interrupt bit */ | 254 | /* clear the interrupt bit */ |