dmaengine: mxs-dma: fix incompatible pointer type build warns
authorVinod Koul <vinod.koul@intel.com>
Mon, 8 Dec 2014 05:54:09 +0000 (11:24 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 07:04:23 +0000 (12:34 +0530)
commita29c3956369b0a993fc41d4ec29289587bd16249
tree28200cce1bb668720c6baa3d553f5ea9c4e2b4b9
parent6269591b989878992be443f77caa9ca4738dfaaf
dmaengine: mxs-dma: fix incompatible pointer type build warns

drivers/dma/mxs-dma.c: In function 'mxs_dma_probe':
drivers/dma/mxs-dma.c:848:35: warning: assignment from incompatible pointer type [enabled by default]
drivers/dma/mxs-dma.c:849:36: warning: assignment from incompatible pointer type [enabled by default]

The function prototype expects return type 'int' whereas these where void

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c