Commit f275b3ae authored by Javier Carrasco's avatar Javier Carrasco Committed by Dmitry Torokhov

Input: fsl-imx25-tcq - constify struct regmap_config

`mx25_tcq_regconfig` is not modified and can be declared as const to
move its data to a read-only section.
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240705-input-const-regmap_config-v1-2-f712a4494883@gmail.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 366d5866
...@@ -38,7 +38,7 @@ struct mx25_tcq_priv { ...@@ -38,7 +38,7 @@ struct mx25_tcq_priv {
struct device *dev; struct device *dev;
}; };
static struct regmap_config mx25_tcq_regconfig = { static const struct regmap_config mx25_tcq_regconfig = {
.fast_io = true, .fast_io = true,
.max_register = 0x5c, .max_register = 0x5c,
.reg_bits = 32, .reg_bits = 32,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment