From: Stephen Warren Date: Mon, 11 Nov 2013 20:09:35 +0000 (-0700) Subject: dma: tegra: register as an OF DMA controller X-Git-Tag: cleanup-for-linus~6^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=996556c92a706058cf5ce6b3ef8dacc4032a3e0d;p=pandora-kernel.git dma: tegra: register as an OF DMA controller Call of_dma_controller_register() so that DMA clients can look up the Tegra DMA controller using standard APIs. This requires the of_xlate() function to save off the DMA slave ID, and for tegra_dma_slave_config() not to over-write this information; once DMA client drivers are converted to dma_request_slave_channel() and DT-based lookups, they won't set this field of struct dma_slave_config anymore. Signed-off-by: Stephen Warren Acked-by: Arnd Bergmann Reviewed-by: Thierry Reding --- Reading git-diff-tree failed