Skip to content
Commit 8a643cc8 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Linus Walleij
Browse files

pinctrl: actions: pinctrl-s900: Constify s900_padinfo[]



The only usage of s900_padinfo[] is to assign it to the padinfo field in
the owl_pinctrl_soc_data struct, which is a const pointer. Make it const
to allow the compiler to put it in read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200830224311.36994-4-rikard.falkeborn@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d01afb71
Loading
Loading
Loading
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