From: Murali Karicheri Date: Tue, 3 Mar 2015 17:52:09 +0000 (-0500) Subject: of: Move of_dma_configure() to device.c to help re-use X-Git-Tag: omap-for-v4.1/fixes-rc1~172^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f5c69aa51f9c7c8d2a5c2e4dc339f6c7d5c15cd;p=pandora-kernel.git of: Move of_dma_configure() to device.c to help re-use Move of_dma_configure() to device.c so it can be re-used for PCI devices to obtain DMA configuration from DT. Also add a second argument so that for PCI, the DT node of root bus host bridge can be used to obtain the DMA configuration for the slave PCI device. Tested-by: Suravee Suthikulpanit (AMD Seattle) Signed-off-by: Murali Karicheri Signed-off-by: Bjorn Helgaas Reviewed-by: Catalin Marinas Acked-by: Will Deacon Acked-by: Rob Herring CC: Joerg Roedel CC: Grant Likely CC: Russell King CC: Arnd Bergmann --- Reading git-diff-tree failed