"Das U-Boot" Source Tree

pinctrl: rockchip: constify rockchip_pin_ctrl for RV1108

There's no need to modify private data from the controller, so let's
make that struct const.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

authored by

Quentin Schulz and committed by
Kever Yang
735fb2d7 60a2c563

+1 -1
+1 -1
drivers/pinctrl/rockchip/pinctrl-rv1108.c
··· 263 263 PIN_BANK_IOMUX_FLAGS(3, 32, "gpio3", 0, 0, 0, 0), 264 264 }; 265 265 266 - static struct rockchip_pin_ctrl rv1108_pin_ctrl = { 266 + static const struct rockchip_pin_ctrl rv1108_pin_ctrl = { 267 267 .pin_banks = rv1108_pin_banks, 268 268 .nr_banks = ARRAY_SIZE(rv1108_pin_banks), 269 269 .grf_mux_offset = 0x10,