]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: export symbol of of_dma_request_slave_channel()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 24 Feb 2015 00:54:16 +0000 (00:54 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 7 Mar 2015 15:03:13 +0000 (15:03 +0000)
commit8142ff6dbca69e0aa685c925738a6582cbd6441f
tree3d254f5cb401067951431b80fdc4ed9d0a4de089
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
dmaengine: export symbol of of_dma_request_slave_channel()

Current DMAEngine implementation of DT bindings can't support
DT subnode. This patch export symbols of of_dma_request_slave_channel()
for subnode DMA DT bingings.

ex)

rcar_sound: rcar_sound@ec500000 {
        ...
        rcar_sound,dvc {
                dvc0: dvc@0 {
                        dmas = <&audma0 0xbc>;
                        dma-names = "tx";
                };
                dvc1: dvc@1 {
                        dmas = <&audma0 0xbe>;
                        dma-names = "tx";
                };
        };
        ...
};

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/dma/of-dma.c