diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-20 23:28:54 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-02-23 18:57:29 +0000 |
| commit | 70ba26cbe02635461c91fa7133941da685e2f08d (patch) | |
| tree | 1fd4938677d945a9f3e7be5fbcba462c7ce2d950 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cpufreq: amd-pstate: Let user know amd-pstate is disabled (diff) | |
| download | kernel-70ba26cbe02635461c91fa7133941da685e2f08d.tar.gz kernel-70ba26cbe02635461c91fa7133941da685e2f08d.zip | |
cpufreq: schedutil: make kobj_type structure constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definition to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
