Message ID | 1439368259-2781-1-git-send-email-jarkko.nikula@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Wed, Aug 12, 2015 at 11:30:59AM +0300, Jarkko Nikula wrote: > 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. > Applied, thanks
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 8ad9a4e839f6..51101e5c5503 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -1189,7 +1189,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;
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> --- include/linux/dmaengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)