summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-05-09 20:18:08 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-05-19 23:03:31 +0200
commit049d595a4db3b3a20fc252298010f0545ef659a3 (patch)
treefa06259c9920b4cb09cf5cdc07cbe27a2e7f7737 /kernel/power
parentPM / OPP: fix incorrect OPP count handling in of_init_opp_table (diff)
downloadlinux-049d595a4db3b3a20fc252298010f0545ef659a3.tar.xz
linux-049d595a4db3b3a20fc252298010f0545ef659a3.zip
PM / OPP: Make OPP invisible to users in Kconfig
The OPP code is an in kernel library selected by its users, there is no no architecture code required to implement it and enabling it without a user just increases the kernel size. Since the users select rather than depend on it just remove the ability to directly set the option from Kconfig. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Nishanth Menon <nm@ti.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 2fac9cc79b3d..9a83d780facd 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -257,8 +257,7 @@ config ARCH_HAS_OPP
bool
config PM_OPP
- bool "Operating Performance Point (OPP) Layer library"
- depends on ARCH_HAS_OPP
+ bool
---help---
SOCs have a standard set of tuples consisting of frequency and
voltage pairs that the device will support per voltage domain. This