aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2023-02-07 19:58:18 +0000
committerRafael J. Wysocki <[email protected]>2023-02-09 19:29:32 +0000
commit108fcad91109bd7e9374ae9d509085f5ec55799b (patch)
treecee9fa67216de8a308063063c47b0e7987cc8b91 /drivers/acpi/cppc_acpi.c
parentcpufreq: davinci: Fix clk use after free (diff)
downloadkernel-108fcad91109bd7e9374ae9d509085f5ec55799b.tar.gz
kernel-108fcad91109bd7e9374ae9d509085f5ec55799b.zip
cpufreq: 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 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions