1

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: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240705-input-const-regmap_config-v1-2-f712a4494883@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Javier Carrasco 2024-07-05 19:38:51 +02:00 committed by Dmitry Torokhov
parent 366d586684
commit f275b3ae3a

View File

@ -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,