dmaengine: Couple DMA channels to their physical DMA device
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 8 Jul 2008 18:58:05 +0000 (11:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 8 Jul 2008 18:58:05 +0000 (11:58 -0700)
Set the 'parent' field of channel class devices to point to the
physical DMA device initialized by the DMA engine driver.

This allows drivers to use chan->dev.parent for syncing DMA buffers
and adds a 'device' symlink to the real device in
/sys/class/dma/dmaXchanY.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found