diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-01-02 14:27:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-03 11:38:46 +0000 |
commit | 9e327ce71f3894e7e6b57f5c15a0dfa5be79f44e (patch) | |
tree | 25313d0312fc529f1fe7d55016dcbf7e1ea5c212 /drivers/vme/bridges/vme_ca91cx42.h | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
download | linux-9e327ce71f3894e7e6b57f5c15a0dfa5be79f44e.tar.bz2 |
spi: sirf: account for const type of of_device_id.data
This driver creates various const structures that it stores in the
data field of an of_device_id array.
Adding const to the declaration of the location that receives the
const value from the data field ensures that the compiler will
continue to check that the value is not modified. Furthermore, the
const-discarding cast on the extraction from the data field is no
longer needed.
Done using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/vme/bridges/vme_ca91cx42.h')
0 files changed, 0 insertions, 0 deletions