]> Git Repo - linux.git/commit - drivers/of/device.c
of: Move of_dma_configure() to device.c to help re-use
authorMurali Karicheri <[email protected]>
Tue, 3 Mar 2015 17:52:09 +0000 (12:52 -0500)
committerBjorn Helgaas <[email protected]>
Tue, 3 Mar 2015 20:42:56 +0000 (14:42 -0600)
commit1f5c69aa51f9c7c8d2a5c2e4dc339f6c7d5c15cd
tree152d30ba274eddb828c0f5ea8d886ab82f96819a
parented748621031c2a205749997421e59fb4dfb1e909
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 <[email protected]> (AMD Seattle)
Signed-off-by: Murali Karicheri <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Acked-by: Will Deacon <[email protected]>
Acked-by: Rob Herring <[email protected]>
CC: Joerg Roedel <[email protected]>
CC: Grant Likely <[email protected]>
CC: Russell King <[email protected]>
CC: Arnd Bergmann <[email protected]>
drivers/of/device.c
drivers/of/platform.c
include/linux/of_device.h
This page took 0.046808 seconds and 4 git commands to generate.