summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-16 12:07:01 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-27 11:01:45 +0100
commit239ed06d0eefc4ee351af69bd64742ada56c4bdb (patch)
tree06eecba4da1a5e0a17dc28e2ec1d6f5f962d9c16 /drivers/acpi
parentaa659a3fca79abd9a3ca3ddc535db631b01c9a02 (diff)
downloadlinux-239ed06d0eefc4ee351af69bd64742ada56c4bdb.tar.gz
linux-239ed06d0eefc4ee351af69bd64742ada56c4bdb.tar.bz2
linux-239ed06d0eefc4ee351af69bd64742ada56c4bdb.zip
ACPI: processor: Make ACPI_PROCESSOR_CSTATE depend on ACPI_PROCESSOR
To avoid build errors when CONFIG_ACPI_PROCESSOR_CSTATE is set and CONFIG_ACPI_PROCESSOR is not (that may appear in randconfig builds), make the former depend on the latter. Acked-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 002838d23b86..cc57bab146b5 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -241,6 +241,7 @@ config ACPI_CPU_FREQ_PSS
config ACPI_PROCESSOR_CSTATE
def_bool y
+ depends on ACPI_PROCESSOR
depends on IA64 || X86
config ACPI_PROCESSOR_IDLE