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/arm/icside.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/arm/icside.c')
-rw-r--r-- | drivers/ide/arm/icside.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c index 70f5b164828b..40ebe04f3995 100644 --- a/drivers/ide/arm/icside.c +++ b/drivers/ide/arm/icside.c | |||
@@ -386,11 +386,6 @@ static void icside_dma_timeout(ide_drive_t *drive) | |||
386 | icside_dma_end(drive); | 386 | icside_dma_end(drive); |
387 | } | 387 | } |
388 | 388 | ||
389 | static void icside_dma_lost_irq(ide_drive_t *drive) | ||
390 | { | ||
391 | printk(KERN_ERR "%s: IRQ lost\n", drive->name); | ||
392 | } | ||
393 | |||
394 | static int icside_dma_init(ide_hwif_t *hwif, const struct ide_port_info *d) | 389 | static int icside_dma_init(ide_hwif_t *hwif, const struct ide_port_info *d) |
395 | { | 390 | { |
396 | hwif->dmatable_cpu = NULL; | 391 | hwif->dmatable_cpu = NULL; |
@@ -407,7 +402,7 @@ static const struct ide_dma_ops icside_v6_dma_ops = { | |||
407 | .dma_end = icside_dma_end, | 402 | .dma_end = icside_dma_end, |
408 | .dma_test_irq = icside_dma_test_irq, | 403 | .dma_test_irq = icside_dma_test_irq, |
409 | .dma_timeout = icside_dma_timeout, | 404 | .dma_timeout = icside_dma_timeout, |
410 | .dma_lost_irq = icside_dma_lost_irq, | 405 | .dma_lost_irq = ide_dma_lost_irq, |
411 | }; | 406 | }; |
412 | #else | 407 | #else |
413 | #define icside_v6_dma_ops NULL | 408 | #define icside_v6_dma_ops NULL |