aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-19 16:51:10 -0300
committerLee Jones <[email protected]>2024-02-23 16:27:13 +0000
commit3cb10854004d2cb9c8f3a33deeeb499d0e0c7120 (patch)
treebc1425521c2a3197a07c547e456dd7a9f9489195 /tools/perf/util/trace-event-scripting.c
parentbda40bf667d8d26b157a69d821872b2ade59bfa4 (diff)
mfd: 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 mfd_dev_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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions