[v9,5/5] ACPI: Allow selection of the ACPI processor driver for ARM64

Message ID 43b491135708a6749a80f9afe843d3dd91029c5e.1441830300.git.ashwin.chaugule@linaro.org
State Accepted
Commit ad806ea66c7cdfa10152c58aa710c9c26ca0d159
Headers show

Commit Message

Ashwin Chaugule Sept. 9, 2015, 8:27 p.m.
Now that the ACPI processor driver has been decoupled from
the C states and P states functionality, make it selectable on
ARM64 so that it can be used by others e.g. CPPC.

The C states and P states code is selected only on X86 or
IA64 until the relevant support is added on ARM64.

Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
---
 drivers/acpi/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index eef74b7..97788bf 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -213,9 +213,9 @@  config ACPI_CPPC_LIB
 
 config ACPI_PROCESSOR
 	tristate "Processor"
-	depends on X86 || IA64
-	select ACPI_PROCESSOR_IDLE
-	select ACPI_CPU_FREQ_PSS
+	depends on X86 || IA64 || ARM64
+	select ACPI_PROCESSOR_IDLE if X86 || IA64
+	select ACPI_CPU_FREQ_PSS if X86 || IA64
 	default y
 	help
 	  This driver adds support for the ACPI Processor package. It is required