aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2013-02-24 10:36:09 -0500
committerVinod Koul <vinod.koul@intel.com>2013-04-15 00:22:03 -0400
commitbef29ec508e58bf8b9ec0915de5b0739fb800c91 (patch)
treecd51452c8e8f1dcd1070daf0cf13f6cfa1e95b1f /drivers/dma/dmaengine.c
parent41ef2d5678d83af030125550329b6ae8b74618fa (diff)
DMA: of: Constant names
No DMA of-function alters the name, so this patch changes the name arguments to be constant. Most drivers will probably request DMA channels using a constant name. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r--drivers/dma/dmaengine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index b2728d6ba2fd..2cbfefea93ee 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -555,7 +555,7 @@ EXPORT_SYMBOL_GPL(__dma_request_channel);
555 * @dev: pointer to client device structure 555 * @dev: pointer to client device structure
556 * @name: slave channel name 556 * @name: slave channel name
557 */ 557 */
558struct dma_chan *dma_request_slave_channel(struct device *dev, char *name) 558struct dma_chan *dma_request_slave_channel(struct device *dev, const char *name)
559{ 559{
560 /* If device-tree is present get slave info from here */ 560 /* If device-tree is present get slave info from here */
561 if (dev->of_node) 561 if (dev->of_node)