diff options
| author | Quentin Schulz <[email protected]> | 2025-01-31 11:31:30 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-05-06 15:59:43 +0800 |
| commit | f6c4dcb1f2907fadef6f47a9336434656b21b0c8 (patch) | |
| tree | b5e5ca9610bb1a7ad72215715133c37c05dddf87 | |
| parent | 96f9e112550cd195fcc712ed5092a6f348ca76d8 (diff) | |
pinctrl: rockchip: constify rockchip_pin_ctrl for PX30
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-px30.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/rockchip/pinctrl-px30.c b/drivers/pinctrl/rockchip/pinctrl-px30.c index cc7885bae40..4595d8a4a23 100644 --- a/drivers/pinctrl/rockchip/pinctrl-px30.c +++ b/drivers/pinctrl/rockchip/pinctrl-px30.c @@ -324,7 +324,7 @@ static struct rockchip_pin_bank px30_pin_banks[] = { ), }; -static struct rockchip_pin_ctrl px30_pin_ctrl = { +static const struct rockchip_pin_ctrl px30_pin_ctrl = { .pin_banks = px30_pin_banks, .nr_banks = ARRAY_SIZE(px30_pin_banks), .grf_mux_offset = 0x0, |
