dmaengine: imx-sdma: Declare slave capabilities for the generic code
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 29 Dec 2014 17:20:51 +0000 (15:20 -0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Jan 2015 18:21:07 +0000 (23:51 +0530)
commit1e4a4f50d2466d18a3e6c64ddd39f2528172b90d
treebf0a332bce34c7f8cac0a3848d27a68d93d6fabf
parentef9d2a92334a27f4fb183ca1259744303564cc1b
dmaengine: imx-sdma: Declare slave capabilities for the generic code

Since ecc19d17868be9c ("dmaengine: Add a warning for drivers not using the
generic slave caps retrieval") the following warning is observed:

[    0.224981] ------------[ cut here ]------------
[    0.225013] WARNING: CPU: 0 PID: 1 at drivers/dma/dmaengine.c:830 dma_async_device_register+0x2a0/0x4c8()
[    0.225023] this driver doesn't support generic slave capabilities reporting

Declare the slave capabilities to avoid such warning.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c