aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-04-29 16:01:10 +0300
committerGreg Kroah-Hartman <[email protected]>2024-05-04 18:57:22 +0200
commit8dc0b2d385d28d06dd17963f4f003738a3c67d3f (patch)
treebf566e2cee3a859c03895dac5f78d7fad808e180 /tools/perf/scripts/python/export-to-sqlite.py
parent1592e84c7d7b3015df29f67db014560f0a9b5c66 (diff)
intel_th: 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 intel_th_source_device_type, intel_th_output_device_type, intel_th_switch_device_type and intel_th_device_type variables to be constant structures as well, placing it into read-only memory which can not be modified at runtime. Signed-off-by: "Ricardo B. Marliere" <[email protected]> Signed-off-by: Alexander Shishkin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions