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)
commit2a52f6e49e5e400ed98a79503193d81207009647
tree58a1d9eb2ef5feb7f509a41fffc786ab92c3dafb
parent99d9bf4ed27c63d5559e31d112f71af655c7182b
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