Explorar o código

powercap / RAPL: fix build dependency on iosf_mbi

RAPL on Atom depends on IOSF_MBI driver for setting
floor frequency. This patch adds explicit dependency on
CONFIG_IOSF_MB.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Jacob Pan %!s(int64=10) %!d(string=hai) anos
pai
achega
24b5984118
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/powercap/Kconfig

+ 1 - 1
drivers/powercap/Kconfig

@@ -17,7 +17,7 @@ if POWERCAP
 # Client driver configurations go here.
 config INTEL_RAPL
 	tristate "Intel RAPL Support"
-	depends on X86
+	depends on X86 && IOSF_MBI
 	default n
 	---help---
 	  This enables support for the Intel Running Average Power Limit (RAPL)