Skip to content

Commit

Permalink
dmaengine i.MX DMA: do not initialize chan_id field
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Sascha Hauer committed Jan 31, 2011
1 parent d07102a commit 97a43df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dma/imx-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ static int __init imxdma_probe(struct platform_device *pdev)
dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask);

imxdmac->chan.device = &imxdma->dma_device;
imxdmac->chan.chan_id = i;
imxdmac->channel = i;

/* Add the channel to the DMAC list */
Expand Down

0 comments on commit 97a43df

Please sign in to comment.