diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-09-22 21:26:58 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-11-19 08:34:21 +0000 |
commit | 4bdcbbb9a3a840a4b8105fd971dda319389a593f (patch) | |
tree | 40837a1508cdef25172e1d266436942abbfbd483 /drivers/mfd/rdc321x-southbridge.c | |
parent | 8d7b3a6dac4eae22c58b0853696cbd256966741b (diff) | |
download | linux-4bdcbbb9a3a840a4b8105fd971dda319389a593f.tar.gz |
mfd: sun4i-gpadc: Constify static struct resource
Constify adc_resources[]. The only usage is to assign its address to the
resources field of the mfd_cell struct. This allows the compiler to put
it in read-only memory. Done with the help of Coccinelle.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rdc321x-southbridge.c')
0 files changed, 0 insertions, 0 deletions