dmaengine: ste_dma: fix incompatible pointer type warns
authorVinod Koul <vinod.koul@intel.com>
Mon, 8 Dec 2014 05:57:08 +0000 (11:27 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 07:04:23 +0000 (12:34 +0530)
commit35e639d1f7571a1f194999910e4b0be6a81356ea
tree8a03c29100a74e62c4e2b976c525be79eef60d32
parentf67bcc404249ed3fdedec250b24c705564802f21
dmaengine: ste_dma: fix incompatible pointer type warns

drivers/dma/ste_dma40.c:2627:3: warning: 'return' with a value, in function returning void [enabled by default]
drivers/dma/ste_dma40.c: In function 'd40_ops_init':
drivers/dma/ste_dma40.c:2869:28: 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/ste_dma40.c