]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: renesas-sdhi: constify renesas_sdhi_internal_dmac_dma_ops
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 7 Aug 2017 20:15:03 +0000 (22:15 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:54 +0000 (14:01 +0200)
commitd8e3d9314e853a9e05523ef817613d0e968a98e1
treeb9a876e37038aea7b47db6a52cc387d5060e0a4d
parent3c807f0e54f44c4668ed2729064a6dce9061a9ff
mmc: renesas-sdhi: constify renesas_sdhi_internal_dmac_dma_ops

The structure renesas_sdhi_internal_dmac_dma_ops is only passed as
the second argument to renesas_sdhi_probe, which is const, so
renesas_sdhi_internal_dmac_dma_ops can be const too.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_internal_dmac.c