summaryrefslogtreecommitdiffstats
path: root/drivers/ide/mips/au1xxx-ide.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-10-13 21:39:46 +0200
committerBartlomiej Zolnierkiewicz2008-10-13 21:39:46 +0200
commitde23ec9ca82357e6d337a2263befb1a65cf19c83 (patch)
tree69bb25051df73e9815696245f613e54e0fc501f3 /drivers/ide/mips/au1xxx-ide.c
parentide: __ide_dma_end() -> ide_dma_end() (diff)
downloadkernel-qcow2-linux-de23ec9ca82357e6d337a2263befb1a65cf19c83.tar.gz
kernel-qcow2-linux-de23ec9ca82357e6d337a2263befb1a65cf19c83.tar.xz
kernel-qcow2-linux-de23ec9ca82357e6d337a2263befb1a65cf19c83.zip
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.c7
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)
{
}
-static void auide_dma_lost_irq(ide_drive_t *drive)
-{
- printk(KERN_ERR "%s: IRQ lost\n", drive->name);
-}
-
static void auide_ddma_tx_callback(int irq, void *param)
{
_auide_hwif *ahwif = (_auide_hwif*)param;
@@ -390,7 +385,7 @@ static const struct ide_dma_ops au1xxx_dma_ops = {
.dma_start = auide_dma_start,
.dma_end = auide_dma_end,
.dma_test_irq = auide_dma_test_irq,
- .dma_lost_irq = auide_dma_lost_irq,
+ .dma_lost_irq = ide_dma_lost_irq,
.dma_timeout = auide_dma_timeout,
};