diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2022-03-31 00:41:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-04 10:41:50 +0300 |
commit | bd941dfaae3503c6b707d8544696205f759e57a3 (patch) | |
tree | aad56e3c71e0f02ce9525c764e3155a33fe2fb9c /drivers/base/property.c | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | linux-bd941dfaae3503c6b707d8544696205f759e57a3.tar.xz |
regmap: Constify static regmap_bus structs
The only usage of these is to pass their address to __regmap_init() or
__devm_regmap_init(), both which takes pointers to const struct
regmap_bus. Make them const to allow the compiler to put them in
read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20220330214110.36337-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/property.c')
0 files changed, 0 insertions, 0 deletions