dmaengine: mxs-dma: Declare slave capabilities for the generic code
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 29 Dec 2014 17:21:19 +0000 (15:21 -0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Jan 2015 18:18:40 +0000 (23:48 +0530)
commitef9d2a92334a27f4fb183ca1259744303564cc1b
treeece301dcc30a2a6c9e389cb24fe0c1e316c0e345
parent029a40e97d0db269f4a7fc02b0f29f627f628309
dmaengine: mxs-dma: 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.113023] ------------[ cut here ]------------
[    0.113053] WARNING: CPU: 0 PID: 1 at drivers/dma/dmaengine.c:830 dma_async_device_register+0x2a0/0x4c8()
[    0.113063] 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/mxs-dma.c