diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-27 03:17:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-09 17:31:16 +0100 |
| commit | 81773c98a808ee9881e2c503d6b9a5316c130694 (patch) | |
| tree | 42a80e98e29904915d64e88488138d233b4ccbcd /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 9b12f050c76f090cc6d0aebe0ef76fed79ec3f15 (diff) | |
firmware: dmi-sysfs: make kobj_type structures 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 definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <[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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions