diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2017-04-10 16:50:58 +0530 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-20 16:31:06 +0200 |
commit | 3f1866779cf8338e1c8bd32e5f6f5424795ef191 (patch) | |
tree | 17593ea7a459226d34e83bda3b3437241fba53f7 /drivers/of/platform.c | |
parent | d7b0558230e444f29488fcee0b0b561015d16f8a (diff) | |
download | talos-obmc-linux-3f1866779cf8338e1c8bd32e5f6f5424795ef191.tar.gz talos-obmc-linux-3f1866779cf8338e1c8bd32e5f6f5424795ef191.zip |
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>
Diffstat (limited to 'drivers/of/platform.c')
-rw-r--r-- | drivers/of/platform.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 5dfcc967dd05..5344db50aa65 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -158,11 +158,6 @@ struct platform_device *of_device_alloc(struct device_node *np, } EXPORT_SYMBOL(of_device_alloc); -static void of_dma_deconfigure(struct device *dev) -{ - arch_teardown_dma_ops(dev); -} - /** * of_platform_device_create_pdata - Alloc, initialize and register an of_device * @np: pointer to node to create device for |