Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Javier Carrasco and committed by
Dmitry Torokhov
f275b3ae 366d5866

+1 -1
+1 -1
drivers/input/touchscreen/fsl-imx25-tcq.c
··· 38 38 struct device *dev; 39 39 }; 40 40 41 - static struct regmap_config mx25_tcq_regconfig = { 41 + static const struct regmap_config mx25_tcq_regconfig = { 42 42 .fast_io = true, 43 43 .max_register = 0x5c, 44 44 .reg_bits = 32,