dmaengine: add wrapper functions for device control functions
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 30 Sep 2010 13:56:33 +0000 (13:56 +0000)
committerDan Williams <dan.j.williams@intel.com>
Tue, 5 Oct 2010 22:49:26 +0000 (15:49 -0700)
commit6e3ecaf0ad49de0bed829d409a164e7107c02993
tree23a351cba3198f1f41cdc09eca376409070ef504
parent782bc950d84e404422ba21008fd51ee894c8d231
dmaengine: add wrapper functions for device control functions

Add wrapper functions around the dma_device->device_control function
to bring back type safety. Also, add a wrapper function around
dma_async_tx_descriptor->tx_submit. This is named dmaengine_submit
instead of dmaengine_tx_submit to get rid of the confusing 'tx' in the
function name

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/dmaengine.h