Skip to content

Commit

Permalink
powercap / RAPL: fix build dependency on iosf_mbi
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jacob Pan authored and Rafael J. Wysocki committed Nov 12, 2014
1 parent 74af752 commit 24b5984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/powercap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 24b5984

Please sign in to comment.