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 | de23ec9ca82357e6d337a2263befb1a65cf19c83 (patch) | |
tree | 69bb25051df73e9815696245f613e54e0fc501f3 /drivers/ide/mips/au1xxx-ide.c | |
parent | 653bcf5292a9ac4ffc07315198f0ef995e0646a8 (diff) |
ide: make ide_dma_lost_irq() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n
Make ide_dma_lost_irq() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n
and convert {ics,au1xxx-}ide.c to use it.
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/mips/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 1c95a0ed7504..92c90db4bb30 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -340,11 +340,6 @@ static void auide_dma_host_set(ide_drive_t *drive, int on) | |||
340 | { | 340 | { |
341 | } | 341 | } |
342 | 342 | ||
343 | static void auide_dma_lost_irq(ide_drive_t *drive) | ||
344 | { | ||
345 | printk(KERN_ERR "%s: IRQ lost\n", drive->name); | ||
346 | } | ||
347 | |||
348 | static void auide_ddma_tx_callback(int irq, void *param) | 343 | static void auide_ddma_tx_callback(int irq, void *param) |
349 | { | 344 | { |
350 | _auide_hwif *ahwif = (_auide_hwif*)param; | 345 | _auide_hwif *ahwif = (_auide_hwif*)param; |
@@ -390,7 +385,7 @@ static const struct ide_dma_ops au1xxx_dma_ops = { | |||
390 | .dma_start = auide_dma_start, | 385 | .dma_start = auide_dma_start, |
391 | .dma_end = auide_dma_end, | 386 | .dma_end = auide_dma_end, |
392 | .dma_test_irq = auide_dma_test_irq, | 387 | .dma_test_irq = auide_dma_test_irq, |
393 | .dma_lost_irq = auide_dma_lost_irq, | 388 | .dma_lost_irq = ide_dma_lost_irq, |
394 | .dma_timeout = auide_dma_timeout, | 389 | .dma_timeout = auide_dma_timeout, |
395 | }; | 390 | }; |
396 | 391 | ||