Skip to content

Commit

Permalink
[MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_c…
Browse files Browse the repository at this point in the history
…allback()

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>
  • Loading branch information
Mike Frysinger authored and David Woodhouse committed Mar 20, 2009
1 parent 8d30cab commit bfc4925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/bf5xx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bfc4925

Please sign in to comment.