diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-09-26 02:32:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 11:48:54 -0400 |
commit | 53e62d3aaa60590d4a69b4e07c29f448b5151047 (patch) | |
tree | 995a43e1dd5760ca4a7a2fb180582d19da7afb01 /drivers | |
parent | cf134483b2cd657039b305777215c531a1009947 (diff) |
[PATCH] Alchemy: Delete unused pt_regs * argument from au1xxx_dbdma_chan_alloc
The third argument of au1xxx_dbdma_chan_alloc's callback function is not
used anywhere.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 4 | ||||
-rw-r--r-- | drivers/mmc/au1xmmc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 71f27e955d87..c7854ea57b52 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -476,13 +476,13 @@ static int auide_dma_lostirq(ide_drive_t *drive) | |||
476 | return 0; | 476 | return 0; |
477 | } | 477 | } |
478 | 478 | ||
479 | static void auide_ddma_tx_callback(int irq, void *param, struct pt_regs *regs) | 479 | static void auide_ddma_tx_callback(int irq, void *param) |
480 | { | 480 | { |
481 | _auide_hwif *ahwif = (_auide_hwif*)param; | 481 | _auide_hwif *ahwif = (_auide_hwif*)param; |
482 | ahwif->drive->waiting_for_dma = 0; | 482 | ahwif->drive->waiting_for_dma = 0; |
483 | } | 483 | } |
484 | 484 | ||
485 | static void auide_ddma_rx_callback(int irq, void *param, struct pt_regs *regs) | 485 | static void auide_ddma_rx_callback(int irq, void *param) |
486 | { | 486 | { |
487 | _auide_hwif *ahwif = (_auide_hwif*)param; | 487 | _auide_hwif *ahwif = (_auide_hwif*)param; |
488 | ahwif->drive->waiting_for_dma = 0; | 488 | ahwif->drive->waiting_for_dma = 0; |
diff --git a/drivers/mmc/au1xmmc.c b/drivers/mmc/au1xmmc.c index fb606165af3b..61268da13957 100644 --- a/drivers/mmc/au1xmmc.c +++ b/drivers/mmc/au1xmmc.c | |||
@@ -731,7 +731,7 @@ static void au1xmmc_set_ios(struct mmc_host* mmc, struct mmc_ios* ios) | |||
731 | } | 731 | } |
732 | } | 732 | } |
733 | 733 | ||
734 | static void au1xmmc_dma_callback(int irq, void *dev_id, struct pt_regs *regs) | 734 | static void au1xmmc_dma_callback(int irq, void *dev_id) |
735 | { | 735 | { |
736 | struct au1xmmc_host *host = (struct au1xmmc_host *) dev_id; | 736 | struct au1xmmc_host *host = (struct au1xmmc_host *) dev_id; |
737 | 737 | ||