From: Matt Porter Date: Fri, 1 Feb 2013 18:22:52 +0000 (+0000) Subject: dmaengine: add dma_request_slave_channel_compat() X-Git-Tag: v3.9-rc1~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864ef69b2d9b34e7c85baa9c5c601d5e735b208a;p=pandora-kernel.git dmaengine: add dma_request_slave_channel_compat() Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call will be made. This allows for a much cleaner migration of drivers to the dmaengine DT API as platforms continue to be mixed between those that boot using DT and those that do not. Suggested-by: Tony Lindgren Signed-off-by: Matt Porter Acked-by: Tony Lindgren Acked-by: Arnd Bergmann Signed-off-by: Vinod Koul --- Reading git-diff-tree failed