diff options
| author | Lars-Peter Clausen <[email protected]> | 2021-10-31 09:04:21 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-11-17 17:51:35 +0000 |
| commit | 3c33b7b8267f0795d74f407e97f3eeec2acb0165 (patch) | |
| tree | 095e7043f8925e041b7b205180be92446956d047 /tools/perf/scripts/python | |
| parent | 1fd85607e1e52dc6f3ac1a993f9ab57e416aa9ab (diff) | |
iio: Mark iio_device_type as const
The iio_device_type struct is never modified, mark it as const. This allows
it to be placed in a read-only memory section, which will protect against
accidental or deliberate modification.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions