diff options
author | Ashwin Chaugule <ashwin.chaugule@linaro.org> | 2015-11-12 19:52:30 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-13 18:00:38 -0500 |
commit | d29d67357db8dad08f97162bbeb51e4975ee67fd (patch) | |
tree | 87a5028627f25133a219982aad0d686a93145ebf | |
parent | efb2d3be53e4343ab6495729b3ec9ffb95261035 (diff) |
ACPI / CPPC: Use h/w reduced version of the PCCT structure
CPPC is enabled only on platforms which support the h/w reduced
ACPI specification, so use the h/w reduced version of the PCCT
consistently when deferencing PCCT contents.
Fixes: 337aadff8e45 (ACPI: Introduce CPU performance controls using CPPC)
Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/cppc_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c index 0bbf84bdcdc4..9361966f1b61 100644 --- a/drivers/acpi/cppc_acpi.c +++ b/drivers/acpi/cppc_acpi.c | |||
@@ -304,7 +304,7 @@ EXPORT_SYMBOL_GPL(acpi_get_psd_map); | |||
304 | 304 | ||
305 | static int register_pcc_channel(unsigned pcc_subspace_idx) | 305 | static int register_pcc_channel(unsigned pcc_subspace_idx) |
306 | { | 306 | { |
307 | struct acpi_pcct_subspace *cppc_ss; | 307 | struct acpi_pcct_hw_reduced *cppc_ss; |
308 | unsigned int len; | 308 | unsigned int len; |
309 | 309 | ||
310 | if (pcc_subspace_idx >= 0) { | 310 | if (pcc_subspace_idx >= 0) { |