[patch 03/15] mtd: Blackfin NFC Driver: drop pointless casts with set_dma_callback()
akpm at linux-foundation.org
akpm at linux-foundation.org
Wed Mar 4 15:01:30 EST 2009
From: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Cc: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---
drivers/mtd/nand/bf5xx_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/mtd/nand/bf5xx_nand.c~blackfin-nfc-driver-drop-pointless-casts-with-set_dma_callback drivers/mtd/nand/bf5xx_nand.c
--- a/drivers/mtd/nand/bf5xx_nand.c~blackfin-nfc-driver-drop-pointless-casts-with-set_dma_callback
+++ a/drivers/mtd/nand/bf5xx_nand.c
@@ -572,7 +572,7 @@ static int bf5xx_nand_dma_init(struct bf
SSYNC();
#endif
- set_dma_callback(CH_NFC, (void *) bf5xx_nand_dma_irq, (void *) info);
+ set_dma_callback(CH_NFC, bf5xx_nand_dma_irq, info);
/* Turn off the DMA channel first */
disable_dma(CH_NFC);
_
More information about the linux-mtd
mailing list