summaryrefslogtreecommitdiff
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2022-03-30 23:41:10 +0200
committerMark Brown <broonie@kernel.org>2022-04-04 08:41:50 +0100
commitbd941dfaae3503c6b707d8544696205f759e57a3 (patch)
treeaad56e3c71e0f02ce9525c764e3155a33fe2fb9c /drivers/pcmcia
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-bd941dfaae3503c6b707d8544696205f759e57a3.tar.gz
linux-bd941dfaae3503c6b707d8544696205f759e57a3.tar.bz2
linux-bd941dfaae3503c6b707d8544696205f759e57a3.zip
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/pcmcia')
0 files changed, 0 insertions, 0 deletions