diff options
| author | Quentin Schulz <[email protected]> | 2025-01-31 11:31:40 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-05-06 15:59:43 +0800 |
| commit | 60a2c563b7461c567b60fd3af2dd6c06f9d5ce34 (patch) | |
| tree | 502de0885f7df1157b9eda63edc668823409ba86 | |
| parent | b8c273247c6c836d6a3065efc8efe0f8a0870b09 (diff) | |
pinctrl: rockchip: constify rockchip_pin_ctrl for RK3399
There's no need to modify private data from the controller, so let's
make that struct const.
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
| -rw-r--r-- | drivers/pinctrl/rockchip/pinctrl-rk3399.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/rockchip/pinctrl-rk3399.c b/drivers/pinctrl/rockchip/pinctrl-rk3399.c index b7a5092c032..928ed59aec6 100644 --- a/drivers/pinctrl/rockchip/pinctrl-rk3399.c +++ b/drivers/pinctrl/rockchip/pinctrl-rk3399.c @@ -279,7 +279,7 @@ static struct rockchip_pin_bank rk3399_pin_banks[] = { ), }; -static struct rockchip_pin_ctrl rk3399_pin_ctrl = { +static const struct rockchip_pin_ctrl rk3399_pin_ctrl = { .pin_banks = rk3399_pin_banks, .nr_banks = ARRAY_SIZE(rk3399_pin_banks), .grf_mux_offset = 0xe000, |
