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>
Mon, 7 Jun 2021 11:47:57 +0000 (13:47 +0200)
commit8df71a7dc5e1e0d8f1bb13145e00bf375fa2082e
tree52fb8a18fe49f9a457f368e8c1c2a485346843b6
parent9ff6774b9718d1a72d1b7c580fc579f1d9d7071f
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