diff options
| author | Nishka Dasgupta <[email protected]> | 2019-08-19 13:27:57 +0530 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-08-21 09:00:16 +0200 |
| commit | 6e28aaab07c19fb97cedea9840ef796f1a772350 (patch) | |
| tree | 146e25cafa9a5f3aa4feddb5e6dd146db7d26c4a /lib/mpi/mpi-cmp.c | |
| parent | a4873accca0529b6a32e1ceb458be843cdea9ec6 (diff) | |
pinctrl: rk805: Make structures constant
Static structures rk805_pinctrl_desc and rk805_gpio_chip, of types
gpio_chip and pinctrl_desc respectively, are not used except to be
copied into the fields of a different variable. Hence make
rk805_pinctrl_desc and rk805_gpio_chip both constant to protect them
from unintended modification.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions