From: Sascha Hauer Date: Mon, 31 Jan 2011 09:19:53 +0000 (+0100) Subject: dmaengine i.MX SDMA: do not initialize chan_id field X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a0e9b2557902bdca563a5eb1bbac87560bd7d20;p=linux-beck.git dmaengine i.MX SDMA: do not initialize chan_id field This is bogus as the dmaengine core will overwrite this field. Signed-off-by: Sascha Hauer --- diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 8707723e36da..3e848ee9a18a 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1307,7 +1307,6 @@ static int __init sdma_probe(struct platform_device *pdev) dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); sdmac->chan.device = &sdma->dma_device; - sdmac->chan.chan_id = i; sdmac->channel = i; /* Add the channel to the DMAC list */