diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-07-05 12:29:41 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-07-20 11:23:45 +0530 |
commit | c2cdb7e4d16394fc51dc5c2c5b3e7c3733bdfaac (patch) | |
tree | 1e98394a20b33ed09d55b5e37a1c1ed2784721d6 /drivers/dma/dw_dmac_regs.h | |
parent | ecf90fbbdc66cde6f5fa25d88541112b9baac459 (diff) | |
download | talos-obmc-linux-c2cdb7e4d16394fc51dc5c2c5b3e7c3733bdfaac.tar.gz talos-obmc-linux-c2cdb7e4d16394fc51dc5c2c5b3e7c3733bdfaac.zip |
dma: sh: use an integer slave ID to improve API compatibility
Initially struct shdma_slave has been introduced with the only member - an
unsigned slave ID - to describe common properties of DMA slaves in an
extensible way. However, experience shows, that a slave ID is indeed the
only parameter, needed to identify DMA slaves. This is also, what is used
by the core dmaengine API in struct dma_slave_config. We switch to using
the slave_id directly, instead of passing a pointer to struct shdma_slave
to improve compatibility with the core. We also make the slave_id signed
for easier error checking.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
0 files changed, 0 insertions, 0 deletions