diff options
| author | Hugo VALTIER <hugo@ahdrone.com> | 2026-07-17 09:59:14 +0200 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-07-25 00:11:50 +0200 |
| commit | 0e5d8cf3f71a542762ed3eaef677258c87492dfa (patch) | |
| tree | ae06251173304e1b00319aa062029c1e87a9d7c5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 52a274b2c675f21e7824178fd763840a40fb49f5 (diff) | |
pinctrl: rockchip: constify mux recalced and route data arrays
The mux_recalced_data and mux_route_data arrays are never modified after
initialization. Mark them const so they can be placed in read-only
memory. Also constify the corresponding struct fields in
rockchip_pin_ctrl and local pointer variables.
This is inspired by review comments on Dmitry Yashin's earlier
RK3308B series [1].
[1] https://lore.kernel.org/all/20240515121634.23945-1-dmt.yashin@gmail.com/
Signed-off-by: Hugo VALTIER <hugo@ahdrone.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
