diff options
| author | Quentin Schulz <[email protected]> | 2025-01-31 11:31:31 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-05-06 15:59:43 +0800 |
| commit | 91b39dd208d76a865bd4e2ce83099c9478599331 (patch) | |
| tree | cf70276d360a65f2bea4d8b96628e1532a0d0146 /drivers | |
| parent | f6c4dcb1f2907fadef6f47a9336434656b21b0c8 (diff) | |
pinctrl: rockchip: constify rockchip_pin_ctrl for RK3036
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]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/pinctrl/rockchip/pinctrl-rk3036.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/rockchip/pinctrl-rk3036.c b/drivers/pinctrl/rockchip/pinctrl-rk3036.c index b14386ccd93..8d0c0e0b655 100644 --- a/drivers/pinctrl/rockchip/pinctrl-rk3036.c +++ b/drivers/pinctrl/rockchip/pinctrl-rk3036.c @@ -80,7 +80,7 @@ static struct rockchip_pin_bank rk3036_pin_banks[] = { PIN_BANK(2, 32, "gpio2"), }; -static struct rockchip_pin_ctrl rk3036_pin_ctrl = { +static const struct rockchip_pin_ctrl rk3036_pin_ctrl = { .pin_banks = rk3036_pin_banks, .nr_banks = ARRAY_SIZE(rk3036_pin_banks), .grf_mux_offset = 0xa8, |
