diff options
| author | 2020-09-22 21:26:58 +0200 | |
|---|---|---|
| committer | 2020-11-19 08:34:21 +0000 | |
| commit | 4bdcbbb9a3a840a4b8105fd971dda319389a593f (patch) | |
| tree | 40837a1508cdef25172e1d266436942abbfbd483 /include/linux/phy/git:/ssh: | |
| parent | mfd: stmpe: Constify static struct resource (diff) | |
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 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
