Skip to content
Snippets Groups Projects
Commit bfc49257 authored by Mike Frysinger's avatar Mike Frysinger Committed by David Woodhouse
Browse files

[MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback()

parent 8d30cab0
No related branches found
No related tags found
No related merge requests found
...@@ -572,7 +572,7 @@ static int bf5xx_nand_dma_init(struct bf5xx_nand_info *info) ...@@ -572,7 +572,7 @@ static int bf5xx_nand_dma_init(struct bf5xx_nand_info *info)
SSYNC(); SSYNC();
#endif #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 */ /* Turn off the DMA channel first */
disable_dma(CH_NFC); disable_dma(CH_NFC);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment