summaryrefslogtreecommitdiff
path: root/drivers/base/property.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2022-03-31 00:41:10 +0300
committerMark Brown <broonie@kernel.org>2022-04-04 10:41:50 +0300
commitbd941dfaae3503c6b707d8544696205f759e57a3 (patch)
treeaad56e3c71e0f02ce9525c764e3155a33fe2fb9c /drivers/base/property.c
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-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