diff options
| author | Thomas Weißschuh <[email protected]> | 2023-02-07 19:55:19 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-02-09 20:04:01 +0000 |
| commit | e898b07deb3ce801b21113979a05f4b3166c7cb3 (patch) | |
| tree | 78803db6622e101d36442b717f82d40e2f3efa4c /drivers/acpi/cppc_acpi.c | |
| parent | cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies (diff) | |
| download | kernel-e898b07deb3ce801b21113979a05f4b3166c7cb3.tar.gz kernel-e898b07deb3ce801b21113979a05f4b3166c7cb3.zip | |
cpuidle: 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]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
