diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-02-23 19:54:16 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-07 10:03:13 -0500 |
commit | 0aed11244360c24c854a263eac0293acef2abd03 (patch) | |
tree | 3d254f5cb401067951431b80fdc4ed9d0a4de089 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
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>
-rw-r--r-- | drivers/dma/of-dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index ca31f1b45366..cbd4a8aff120 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c | |||
@@ -194,6 +194,7 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np, | |||
194 | 194 | ||
195 | return ERR_PTR(ret_no_channel); | 195 | return ERR_PTR(ret_no_channel); |
196 | } | 196 | } |
197 | EXPORT_SYMBOL_GPL(of_dma_request_slave_channel); | ||
197 | 198 | ||
198 | /** | 199 | /** |
199 | * of_dma_simple_xlate - Simple DMA engine translation function | 200 | * of_dma_simple_xlate - Simple DMA engine translation function |