mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
clk: lpc32xx: Constify struct regmap_config
`lpc32xx_scb_regmap_config` 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/20240703-clk-const-regmap-v1-7-7d15a0671d6f@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
db8061ef91
commit
7b34303d9d
@ -61,7 +61,7 @@
|
||||
#define LPC32XX_USB_CLK_CTRL 0xF4
|
||||
#define LPC32XX_USB_CLK_STS 0xF8
|
||||
|
||||
static struct regmap_config lpc32xx_scb_regmap_config = {
|
||||
static const struct regmap_config lpc32xx_scb_regmap_config = {
|
||||
.name = "scb",
|
||||
.reg_bits = 32,
|
||||
.val_bits = 32,
|
||||
|
Loading…
Reference in New Issue
Block a user