From: Mike Frysinger Date: Wed, 4 Mar 2009 20:01:30 +0000 (-0800) Subject: [MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bfc492571e7ad1eb4b9fe3ac8ab0a7cdaecf8eca;p=openwrt%2Fstaging%2Fblogic.git [MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback() Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 520314d4a805..4c2a67ca801e 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c @@ -572,7 +572,7 @@ static int bf5xx_nand_dma_init(struct bf5xx_nand_info *info) 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);