summaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-08-12 11:30:59 +0300
committerVinod Koul <vinod.koul@intel.com>2015-08-17 14:52:10 +0530
commit1dc042885456dff457d0b758b69209dcafa688ec (patch)
treef5bab8c8481e3cfc15fcb75f831df9bcddf1d79b /include/linux/dmaengine.h
parent0e95fb9ceb82433f4f910d1cece0f4d6b0c25c51 (diff)
downloadblackbird-op-linux-1dc042885456dff457d0b758b69209dcafa688ec.tar.gz
blackbird-op-linux-1dc042885456dff457d0b758b69209dcafa688ec.zip
dmaengine: Make __dma_request_slave_channel_compat() name argument constant
Inline function __dma_request_slave_channel_compat() doesn't modify "name" argument but passes it to dma_request_slave_channel() which already takes it as a constant. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 1b866e9a6ed1..3a732ac95285 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -1229,7 +1229,7 @@ struct dma_chan *dma_get_any_slave_channel(struct dma_device *device);
static inline struct dma_chan
*__dma_request_slave_channel_compat(const dma_cap_mask_t *mask,
dma_filter_fn fn, void *fn_param,
- struct device *dev, char *name)
+ struct device *dev, const char *name)
{
struct dma_chan *chan;
OpenPOWER on IntegriCloud