Skip to contentSkip to conversation

powercap/rapl: fix build dependency on iosf_mbi

PATCH Applied Jacob Pan 2 participants 2 messages Nov 12, 2014 – Nov 13, 2014 Power management core

lore
Share & tools
lore

Jacob Pan

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/powercap/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/powercap/Kconfig +1 -1
index a7c81b5..85727ef 100644
@@ -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)
Signature · 1 line
1.9.1
#1 lore raw
Quoted 5 lines · Jacob Pan

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

Applied, thanks!

Quoted 18 lines
---
 drivers/powercap/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/powercap/Kconfig +1 -1
index a7c81b5..85727ef 100644
@@ -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)
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.