Re: [PATCH] spi: dw-mid: constify dw_spi_dma_ops structure

2015-11-28 Thread Andy Shevchenko
On Sat, Nov 28, 2015 at 4:09 PM, Julia Lawall wrote: > 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 > Acked-by: Andy Shevchenko > --- > drivers/spi/spi-dw-mid.c |2 +- > drivers/spi/spi-dw.h

[PATCH] spi: dw-mid: constify dw_spi_dma_ops structure

2015-11-28 Thread Julia Lawall
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 --- drivers/spi/spi-dw-mid.c |2 +- drivers/spi/spi-dw.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-dw-mi