]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: intel_pstate: hybrid: Fix build with CONFIG_ACPI unset
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 May 2021 17:30:58 +0000 (19:30 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 May 2021 18:03:31 +0000 (20:03 +0200)
commit7f5e8ac37f06434b313cfaa776e9197667464bb4
tree5cc574514d28f3d88a186211767ed08e08148d91
parentc1d6d2fd2f642c67ddc7150aee05d63665fe71ca
cpufreq: intel_pstate: hybrid: Fix build with CONFIG_ACPI unset

One of the previous commits introducing hybrid processor support to
intel_pstate broke build with CONFIG_ACPI unset.

Fix that and while at it make empty stubs of two functions related
to ACPI CPPC static inline and fix a spelling mistake in the name of
one of them.

Fixes: eb3693f0521e ("cpufreq: intel_pstate: hybrid: CPU-specific scaling factor")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
drivers/cpufreq/intel_pstate.c