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 09:34:21 +0100 |
commit | 4bdcbbb9a3a840a4b8105fd971dda319389a593f (patch) | |
tree | 40837a1508cdef25172e1d266436942abbfbd483 /drivers/mfd/wm8350-i2c.c | |
parent | mfd: stmpe: Constify static struct resource (diff) | |
download | linux-4bdcbbb9a3a840a4b8105fd971dda319389a593f.tar.xz linux-4bdcbbb9a3a840a4b8105fd971dda319389a593f.zip |
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/wm8350-i2c.c')
0 files changed, 0 insertions, 0 deletions