aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/bf5xx_nand.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-03-04 15:01:30 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-20 08:18:04 -0400
commitbfc492571e7ad1eb4b9fe3ac8ab0a7cdaecf8eca (patch)
tree96d1769cb57574430a108e7e47392bc7c8fab8ff /drivers/mtd/nand/bf5xx_nand.c
parent8d30cab06920f9efb7e089f2c69e451b2a637d8a (diff)
[MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback()
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/bf5xx_nand.c')
-rw-r--r--drivers/mtd/nand/bf5xx_nand.c2
1 files changed, 1 insertions, 1 deletions
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)
572 SSYNC(); 572 SSYNC();
573#endif 573#endif
574 574
575 set_dma_callback(CH_NFC, (void *) bf5xx_nand_dma_irq, (void *) info); 575 set_dma_callback(CH_NFC, bf5xx_nand_dma_irq, info);
576 576
577 /* Turn off the DMA channel first */ 577 /* Turn off the DMA channel first */
578 disable_dma(CH_NFC); 578 disable_dma(CH_NFC);