powercap / RAPL: fix build dependency on iosf_mbi
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 12 Nov 2014 18:50:36 +0000 (10:50 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Nov 2014 20:09:19 +0000 (21:09 +0100)
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>
drivers/powercap/Kconfig

index a7c81b53d88af9e83459d10a5f47aa262de0789c..85727ef6ce8e4d350716f84434b62d6322cee748 100644 (file)
@@ -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)