Skip to content
Snippets Groups Projects
Commit 8d7b3a6d authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Lee Jones
Browse files

mfd: stmpe: Constify static struct resource


Constify a couple of static struct resource. The only usage of the
structs is to assign their address to the resources field in the
mfd_cell struct. This allows the compiler to put them in read-only
memory. Done with the help of Coccinelle.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5a1acf2b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment