diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-19 09:10:00 -0300 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2024-02-28 09:30:25 +0200 |
commit | 097948afa1c2220609683106c884a3c710e62c80 (patch) | |
tree | fe8f0d1d3ae238e2fe71df61a9f30670045c45d8 /scripts/generate_rust_analyzer.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
bus: ti-sysc: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the
sysc_device_type variable to be a constant structure as well, placing it
into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions