dma: Make the 'mask' parameter of __dma_request_channel const
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Mar 2013 12:23:52 +0000 (13:23 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Apr 2013 04:21:18 +0000 (09:51 +0530)
commita53e28da574a40bcc9f78f5d0b0b60570182595b
tree9b39b12b7e52518ca08a351112ba69a8229fa907
parenta7e340657a04777077a86e235f7074e8e261ac2e
dma: Make the 'mask' parameter of __dma_request_channel const

The 'mask' parameter is not modified in __dma_request_channel and really
shouldn't be. Make this explicit by making the parameter const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c
include/linux/dmaengine.h