spi: dw-mid: constify dw_spi_dma_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 28 Nov 2015 14:09:38 +0000 (15:09 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 30 Nov 2015 11:34:50 +0000 (11:34 +0000)
commit4fe338c94986df105c3966a39b5a0af608762891
treed4a90c39d68a2b5c554cbac63031bbba76291eee
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
spi: dw-mid: constify dw_spi_dma_ops structure

The dw_spi_dma_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c
drivers/spi/spi-dw.h