From: Guennadi Liakhovetski Date: Thu, 5 Jul 2012 10:29:41 +0000 (+0200) Subject: dma: sh: use an integer slave ID to improve API compatibility X-Git-Tag: v3.6-rc1~109^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2cdb7e4d16394fc51dc5c2c5b3e7c3733bdfaac;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed