of: dma: Make of_dma_deconfigure() public
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 10 Apr 2017 11:20:58 +0000 (16:50 +0530)
committerJoerg Roedel <jroedel@suse.de>
Thu, 20 Apr 2017 14:31:06 +0000 (16:31 +0200)
commit3f1866779cf8338e1c8bd32e5f6f5424795ef191
tree17593ea7a459226d34e83bda3b3437241fba53f7
parentd7b0558230e444f29488fcee0b0b561015d16f8a
of: dma: Make of_dma_deconfigure() public

As part of moving DMA initializing to probe time the
of_dma_deconfigure() function will need to be called from different
source files. Make it public and move it to drivers/of/device.c where
the of_dma_configure() function is.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/of/device.c
drivers/of/platform.c
include/linux/of_device.h