summaryrefslogtreecommitdiffstats
path: root/drivers/net/macvtap.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2018-01-02 14:27:59 +0100
committerMark Brown <broonie@kernel.org>2018-01-03 11:38:46 +0000
commit9e327ce71f3894e7e6b57f5c15a0dfa5be79f44e (patch)
tree25313d0312fc529f1fe7d55016dcbf7e1ea5c212 /drivers/net/macvtap.c
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-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/net/macvtap.c')
0 files changed, 0 insertions, 0 deletions