aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-19 09:43:57 -0300
committerUlf Hansson <[email protected]>2024-02-27 13:48:36 +0100
commit68f5630ae15407d8d3daaadbbfbafbd319e3ecd4 (patch)
treed7b1412e20af18877e4b8ee20f938283543639e4 /tools/perf/util/trace-event-scripting.c
parent017199c2849c3d6d417791ec1cf5521005d663a1 (diff)
mmc: core: 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 sdio_type, sd_type and mmc_type variables to be constant structures 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions