diff options
| author | Quentin Schulz <[email protected]> | 2025-01-31 11:31:34 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-05-06 15:59:43 +0800 |
| commit | 8ac01d7965474c902ead017a8efc7d2fb9e741bd (patch) | |
| tree | 8312bdab3f45d520a47e52058ebbf41c2d9421f0 /drivers | |
| parent | 8881eb7317ea07d5cee1ea3ab828449ce7311d56 (diff) | |
pinctrl: rockchip: constify rockchip_pin_ctrl for RK3188
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-rk3188.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/rockchip/pinctrl-rk3188.c b/drivers/pinctrl/rockchip/pinctrl-rk3188.c index 83db51f66ae..3a93db5622d 100644 --- a/drivers/pinctrl/rockchip/pinctrl-rk3188.c +++ b/drivers/pinctrl/rockchip/pinctrl-rk3188.c @@ -105,7 +105,7 @@ static struct rockchip_pin_bank rk3188_pin_banks[] = { PIN_BANK(3, 32, "gpio3"), }; -static struct rockchip_pin_ctrl rk3188_pin_ctrl = { +static const struct rockchip_pin_ctrl rk3188_pin_ctrl = { .pin_banks = rk3188_pin_banks, .nr_banks = ARRAY_SIZE(rk3188_pin_banks), .grf_mux_offset = 0x60, |
