linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: processor: Make ACPI_PROCESSOR_CSTATE depend on ACPI_PROCESSOR
@ 2019-12-16 11:34 Rafael J. Wysocki
  2019-12-17 15:29 ` Brown, Len
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2019-12-16 11:34 UTC (permalink / raw)
  To: Linux ACPI; +Cc: Linux PM, LKML, Len Brown, Srinivas Pandruvada, Len Brown

From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

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.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---

The build issues addressed by this patch are exposed by the series adding ACPI
support to intel_idle:

https://lore.kernel.org/linux-pm/3950312.2WmFeOdZGY@kreacher/T/#t

so it has been added to the intel_idle+acpi branch (which has been rebased on
top of 5.5-rc2).

---
 drivers/acpi/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux-pm/drivers/acpi/Kconfig
===================================================================
--- linux-pm.orig/drivers/acpi/Kconfig
+++ linux-pm/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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] ACPI: processor: Make ACPI_PROCESSOR_CSTATE depend on ACPI_PROCESSOR
  2019-12-16 11:34 [PATCH] ACPI: processor: Make ACPI_PROCESSOR_CSTATE depend on ACPI_PROCESSOR Rafael J. Wysocki
@ 2019-12-17 15:29 ` Brown, Len
  0 siblings, 0 replies; 2+ messages in thread
From: Brown, Len @ 2019-12-17 15:29 UTC (permalink / raw)
  To: Rafael J. Wysocki, Linux ACPI
  Cc: Linux PM, LKML, Srinivas Pandruvada, Len Brown

Acked-by: Len Brown <len.brown@intel.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-17 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 11:34 [PATCH] ACPI: processor: Make ACPI_PROCESSOR_CSTATE depend on ACPI_PROCESSOR Rafael J. Wysocki
2019-12-17 15:29 ` Brown, Len

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).