]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: export probe()/remove() and Co to users
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Sep 2014 14:18:15 +0000 (17:18 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 15:01:05 +0000 (20:31 +0530)
commit8b96ddf7595da7f7a214aae20a6ab91e015d85af
tree58a1d9eb2ef5feb7f509a41fffc786ab92c3dafb
parentc74ca92b8374df2f0e9e146e26077efbb5bd29ce
dmaengine: dw: export probe()/remove() and Co to users

The driver library functions can be used directly by the compound devices such
as ADSP or serial driver where DesignWare DMA IP is privately attached to the
main hardware.

Instead of creating a new platform device leaf they may call dw_dma_probe()
with given struct dw_dma_chip directly and make sure that the main device is
DMA capable.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/internal.h
include/linux/dma/dw.h